coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: digevoc on January 26, 2004, 10:34:30 PM

Title: Navigation Menu items
Post by: digevoc on January 26, 2004, 10:34:30 PM
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
Title: Navigation Menu items
Post by: hyperion on January 27, 2004, 12:56:23 AM
Edit the appropriate language file in the /lang folder.
Title: Navigation Menu items
Post by: digevoc on January 27, 2004, 02:28:50 AM
Cool, thank you kindly  :P
Title: Navigation Menu items
Post by: Casper on January 27, 2004, 08:58:38 AM
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.
Title: Navigation Menu items
Post by: philgh on March 11, 2004, 10:52:52 PM
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.
Title: Navigation Menu items
Post by: Casper on March 11, 2004, 11:08:27 PM
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.