Navigation Menu items Navigation Menu items
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Navigation Menu items

Started by digevoc, January 26, 2004, 10:34:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

digevoc

Hello,

How does one change the names of the items in the navigation menu?  I'm having difficulty locating them...

All I want really is to change the name "Album List" to something like "Gallery"..

Thanks very much for any help as I continue to search these forums for an answer...

-Jeremy

hyperion

Edit the appropriate language file in the /lang folder.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

digevoc


Casper

Hi digevoc,
are you aware the 'Album List' link takes you to the category page of the cat you are in, not back to the main page.

If you want a link directly back to the index.php, which is what I did, just add a new link, in your theme.php, like this;

Find code
<!-- BEGIN album_list -->
                        <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::
<!-- END album_list -->


Note, depending on the theme, there may be some formating.


Copy all between the BEGIN and END notes.

Paste it above the album list code.

Now change the {ALB_LIST_TGT} to 'your index.php url'.
Change the {ALB_LIST_TITLE}  and the {ALB_LIST_LNK} to 'Gallery'

Upload and away you go.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

philgh

Hi, i wanted to know how to add extra links to the gallery and was directed to this post.
Where do i start and where do i edit to add the links to other parts of my site.
THE PHANTOM SPEAKS!

Casper

Did you actually read the post above yours.

It says where to do it, and how to do it.

But just to make it clear;

1. Open themes/your_theme/theme.php.

2.  Find the code <!-- BEGIN album_list -->
                        <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::
<!-- END album_list -->


Now copy everything except the <!-- BEGIN album_list --> and <!-- END album_list -->

3.  Paste it immediately above the code you copied, and change the {ALB_LIST_TGT} to 'your link url'.
Change the {ALB_LIST_TITLE} and the {ALB_LIST_LNK} to 'your_link_name'.

You have now created a new link which will show on your main menu.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here