DougM
01-02-2005, 11:07 PM
I have seperate HTML headers for each section of my website and want one for the links directory too. So here is the idea I had:
In each links template the header is called as $header so it follows that I just replace this in each template. Right?
Now I know I could just replace $header with a big block of HTML code but I change it often enough that I don't want that many changes to make each time (I'm going to do this in vBadvanced Gallery and VB Calendar also). So I thought I could just create a new template called header_links and the replace $header with $header_links in all templates. It does not work. Nothing shows up?
Can anyone help me to solve this? I just want one header file for each section; forums, links, gallery and calendar. I don't think I'm too far off.
Thank you
In each links template the header is called as $header so it follows that I just replace this in each template. Right?
Now I know I could just replace $header with a big block of HTML code but I change it often enough that I don't want that many changes to make each time (I'm going to do this in vBadvanced Gallery and VB Calendar also). So I thought I could just create a new template called header_links and the replace $header with $header_links in all templates. It does not work. Nothing shows up?
Can anyone help me to solve this? I just want one header file for each section; forums, links, gallery and calendar. I don't think I'm too far off.
Thank you