Archive for June, 2007

  • So, you built a nice new PHPTemplate theme. You followed the samples
and in your <title> tag, you place the $head_title
variable and in your section header you display the $title variable.
They are different titles, or are they?<br />
<br />
Short answer is yes, they are.  However if the module generating page content happens to use the <code>drupal_set_title()</code> function, then the value of both title variables will be the same. This is not always what you want.<br />
<br />
Some quick reading and modification of our template.php file resolved this for us.

    Drupal $head_title versus $title. Split ‘em.

    So, you built a nice new PHPTemplate theme. You followed the samples and in your &lt;title&gt; tag, you place the $head_title variable and in your section header you display the $title variable. They are different titles, or are they?

    Short answer is yes, they are. However if the module generating page content happens to use the drupal_set_title() function, then the value of both title variables will be the same. This is not always what you want.

    Some quick reading and modification of our template.php file resolved this for us.

    Continue Reading...

Bad Behavior has blocked 232 access attempts in the last 7 days.