PDA

View Full Version : Modify the menu from the site


cocoalex
01-11-2008, 09:32 AM
Hi!

I have this site www.alexacatalin.ro. I'm using a Vision theme.
I'm trying to some new links in my top menu, but I still haven't found the file I need to change.

Can somebody give me a hint?

Thanks!

dhdesign
01-11-2008, 10:54 AM
You need to open the _template.html files for your theme (image, browse, about, etc.) in a plain text editor and add the code for the new links in the menu section of each of them, then reupload to your server.

cocoalex
01-11-2008, 01:28 PM
I know. Only that I couldn't find the link I'm interested in.

I want to change the name for Archive with something else.

Here is the code:



<div id="content">
<div id="nav">

<div class="navbar">

<div class="header">
<a href="index.php" title="latest image">Alexa Catalin</a>
</div>

<div class="navmenu">
<a href="#" onclick="setActiveStyleSheet('light'); return false;"><img src="templates/visions/images/box_light.png" alt="light style" /></a>

<a href="#" onclick="setActiveStyleSheet('dark'); return false;"><img src="templates/visions/images/box_dark.png" alt="dark style" /></a>
<a href="#" onclick="setActiveStyleSheet('black'); return false;"><img src="templates/visions/images/box_black.png" alt="black style" /></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="index.php?showimage=70" title="previous">&lt;&lt; Previous</a> |
<a href="index.php?showimage=71" title="next">Next &gt;&gt;</a> |
<a href='index.php?showimage=71' onclick="window.open('index.php?popup=comment&amp;showimage=71' ,'Comments','width=480,height=540,scrollbars=yes,r esizable=yes');">Comments</a> (1) | <a href="index.php?x=browse&amp;pagenum=1">Archive</a> |
<a href="index.php?x=about" title="about">About</a> |

<a href="index.php?x=rss" title="RSS 2.0 feed">RSS</a>/<a href="index.php?x=atom" title="ATOM feed">Atom</a> |
</div>


Where is should be a simple link for Archive is a div with some classes.
It's preatty simple, I guess, but I don't get it.

Thanks!

cocoalex
01-11-2008, 01:30 PM
Hmmm ...
I pasted the code from bellow in Dreamweaver and it looks different.
When I tried to edit the original file from the template it's a lot different.

dakwegmo
01-11-2008, 02:01 PM
The code you included above is from the output, not from the template files. However, the link to the archive is right there:
<a href="index.php?x=browse&amp;pagenum=1">Archive</a>
If you're trying to change something in the archive, then you would need to edit browse_template.html