From drupal-cvs@drupal.org Thu Nov 30 11:00:39 2006 From: drupal-cvs@drupal.org To: drupal-cvs@drupal.org Subject: [contributions:robrechtj] /modules/nodewords README.txt nodewords.module Date: Thu, 30 Nov 2006 11:00:38 +0000 Message-ID: <20061130110038.5F5AA13813A@drupal3.drupal.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4976832375259052918==" --===============4976832375259052918== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable User: robrechtj Branch: HEAD Date: Thu, 30 Nov 2006 11:00:38 +0000 Modified files: /modules/nodewords README.txt nodewords.module Log message: #92475 : the meta tags were not shown in the section of PHP only themes (for example the chameleon theme). This is because we moved the calls for drupal_set_html_head() to hook_footer() in order to get the right DC.title (because the drupal_get_title() is not correct in hook_menu() for nodes). However, themes like chameleon only call hook_footer() after they already outputted the . =20 The fix is to move the outputting back to hook_menu(), but extend the already present UGLY HACK for DC.title by detecting whether we are on a node page. In that case, we use $node->title instead of drupal_get_title(= ). =20 Thanks all for reporting it. Links: http://cvs.drupal.org/diff.php?path=3Dcontributions/modules/nodewords/READM= E.txt&old=3D1.24&new=3D1.25&root=3Dcontrib http://cvs.drupal.org/diff.php?path=3Dcontributions/modules/nodewords/nodew= ords.module&old=3D1.53&new=3D1.54&root=3Dcontrib --===============4976832375259052918==--