Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

common things in templates

Quote Reply
common things in templates
I am using templates. I have tried to modify my site_html_template with a global and a variable like the following...

%globals = ( site_menu => $site_menu

);

# Ahora se define el valor de algunas variables globales que se van a usar en las templates

##########################################################
## Menu ##
##########################################################

# Esto es la barra gris de cabecera de página, excepto en home
$site_menu = qq~
<TR>
<TD bgColor=#e6e6e6 width="100%">
<P align=right><SMALL><FONT face=Arial><A
href="http://enlaces.defensa.com/pages">Volver</A> | <A
href="mailto:enlaces@defensa.com">Correo
</A></FONT></SMALL></P></TD>
</TR>
~;

but it does not work....How can I use common headers and other things in my templates. Do I have to use site_html w/o templates?

I know you have a similar FAQ but I can not read it, sorry..

Subject Author Views Date
Thread common things in templates fmzenlaces 2580 May 16, 2000, 8:03 AM
Post Re: common things in templates
Stealth 2518 May 16, 2000, 8:26 AM