Author Topic: Modifying top.html to include a new link.  (Read 5217 times)

0 Members and 2 Guests are viewing this topic.

Offline Commie

  • Pre-Newbie
  • Posts: 5
    • View Profile
Modifying top.html to include a new link.
« 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??? :?

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Modifying top.html to include a new link.
« Reply #1 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 ....

Offline Commie

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Modifying top.html to include a new link.
« Reply #2 on: May 31, 2005, 08:17:08 PM »
Do I have to change all of the .html files?

Offline Commie

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Modifying top.html to include a new link.
« Reply #3 on: May 31, 2005, 08:35:57 PM »
Ah, ok. I see now.

Thanks.