4images Forum & Community

4images Modifications / Modifikationen => Templates & Styles (Requests & Discussions) => Topic started by: Commie on May 31, 2005, 06:03:30 PM

Title: Modifying top.html to include a new link.
Post by: Commie on May 31, 2005, 06:03:30 PM
I'm tearing my hair out trying to figure out how to add a link to the top bar beside "Top Image" and "New Images"

I've isolated the template file: top.html

Here's the original code:

Code: [Select]
<a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp;|&nbsp;
<a href="{url_new_images}"><b>{lang_new_images}</b></a>&nbsp;

And this is how I want it to work:

Code: [Select]
<a href="http://myurl.com/forums/"><b>Forums</b></a>&nbsp;|&nbsp;
<a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp;|&nbsp;
<a href="{url_new_images}"><b>{lang_new_images}</b></a>&nbsp;

So it looks like this:

Forums | Top Images | New Images

However, when I change the top.html file in the template directory nothing happens. In fact, just to test, I deleted top.html and it still works.

What am I doing wrong??? :?
Title: Re: Modifying top.html to include a new link.
Post by: ascanio on May 31, 2005, 07:18:36 PM
the top.html is not top bar beside "Top Image" and "New Images"  ... what u need to do is change it on home.html, members.html, top.html ....
Title: Re: Modifying top.html to include a new link.
Post by: Commie on May 31, 2005, 08:17:08 PM
Do I have to change all of the .html files?
Title: Re: Modifying top.html to include a new link.
Post by: Commie on May 31, 2005, 08:35:57 PM
Ah, ok. I see now.

Thanks.