View Full Version : how to edit nav-right
10-11-2008, 02:16 PM
I was wondering which file do I need to edit so I can trim my top, right hand side menu? I want to remove links which I have now
| Comments (0) | latest | archives | about | contact | darkfocus |
and leave only
latest | archives
Do I need to edit my template files or files from the main pixelpost dir?
template: focus 3.0.1 ß
10-11-2008, 02:29 PM
You need to edit your template files to remove those links. If you remove the Comments (0) link, however, nobody will be able to leave a comment on your images, as they won't be able to reach the comment form. If you are eliminating comment functionality entirely from your photoblog, then it wouldn't matter.
10-11-2008, 03:16 PM
Yes, that the thing I would like to remove comments and other links to make it as simple as possible. I can edit files in my template directory:
but the links are still there on a main page, any ideas how can I remove it from there? index.html file seems to be empty file here
10-11-2008, 04:03 PM
Open image_template.html and replace the code between the <span class="nav-right"> and </span> tags with the following code:
<a href="index.php"><strong>latest</strong></a> |
<a href="<SITE_BROWSELINK_PAGED>">archives</a> |
<a href='./index.php?x=rss'>RSS 2.0</a>
That will remove all of the links except for latest and archives. You then need to upload via FTP all of the edited _template.html files into the templates/focus/ folder on your server.
The index.html file you are looking at is a placeholder file to keep the contents of the folder it is in from being publicly displayed if the webserver isn't configured to have Options Indexes turned off.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.