Currently, I have a customized standard html header, and would like to be able to use the same header for all files, but have different titles for each...I have tried using this in my header: <title><dtml-let var="'TITLE'"></dtml-let></title> and then using this in the individual file: <dtml-let var="'TITLE'" value="'My title'""> </dtml-let> I only use the "'....'"...becuase otherwise, I get syntax errors.....however, when I look at the source code on the page, it reads <title></title>...so apparently this is not working. Any suggestions? Thanks, Jessica Tishmack
jessica lee tishmack wrote:
Currently, I have a customized standard html header, and would like to be able to use the same header for all files, but have different titles for each...I have tried using this in my header:
<title><dtml-let var="'TITLE'"></dtml-let></title>
Just say: <title><dtml-var title></title> You don't need the let tag. -Michel
jessica lee tishmack wrote:
Currently, I have a customized standard html header, and would like to be able to use the same header for all files, but have different titles for each...I have tried using this in my header:
<title><dtml-let var="'TITLE'"></dtml-let></title>
Just say:
<title><dtml-var title></title>
You don't need the let tag.
Thanks. One problem that arises when I do this, is that in my webpage, when I do "view source" I have ... stuff <title></title> ---> From the standard_html_header file stuff <title>mytitle</title> ---> From the file itself I guess I am wanting to know how to tell the header to place the correct title in its own <title></title> portion, and not to add a second <title></title> line. Thanks, Jessica
On Mon, 20 Mar 2000, Michel Pelletier wrote:
jessica lee tishmack wrote:
Currently, I have a customized standard html header, and would like to be able to use the same header for all files, but have different titles for each...I have tried using this in my header:
<title><dtml-let var="'TITLE'"></dtml-let></title>
Just say:
<title><dtml-var title></title>
You don't need the let tag.
-Michel
You are exactly right! I took out the title lines in the file, and just kept the title line in the header, and gave my file a title...and voila! Thanks! The Newbie, Jessica
participants (2)
-
jessica lee tishmack -
Michel Pelletier