Customize The Menu.. Customize The Menu..
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Customize The Menu..

Started by erok, May 22, 2005, 10:53:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

erok

After looking through the template.html and theme.php in my themes folder, I am unsure about how to change and edit the main menu of items.

Basicaly all I am wanting to do is customize the menu (Album list, Last uploads, Last comments, Most viewed, Top rated, etc.). I already searched the forums and the help files, and have commented out the ones I don't want (ie my favorites and ecards) SO what I need help with is how to rename the previously stated items..

I want to change "Album list" to simply "Gallery" (just the text/link that you click on) and a few other small changes like that. I haven't been able to find any text in the main files to do this though, it looks like more scripts with { } tags (and I only know basic HTML).

Thanks!

erok

p.s. I want the links and where the page directs to to remain the same..all I want is to be able to simply call it something else (ie "Gallery" instead of "Album list"..) seems so simple..yet I have no idea how to do this?

erok

thanks for all the overwhelming support! heh.  :-\\ 

I found out that it's in the lang directrory (english.php), it contains all the text for the site..incase anyone else was thinking the same thing!

Joachim Müller

edit lang/english.php, find  'alb_list_lnk' => 'Album list',and change to  'alb_list_lnk' => 'Gallery',

Note: "album list" is not the same thing as a "gallery home" link: it sends you to the album list within the category you currently are. There are however plenty of posts that explain how to add a "home" link to your menu. Please search before posting.

[edit]
While I was typing my reply you posted your little sarcastic remark on the speed of replies. This is not a hotline >:( !
Read http://coppermine.sourceforge.net/faq.php#lamesupport
[/edit]

erok

#4
ty for getting to my response  :D ! (even if I had just found out the solution)

and I apologize for my little dose of sarcasam..was not having a good day and I should be more patient / not expect too much ;)

ps, any idea how to make when you click on a Category in your Album List (now currently renamed to "Gallery" on my site) from the front page, for it to list out the current albums in that category? Currently it only shows two things when you click on a category:

1) Latest Additions
2) Most Viewed

it would seem natural that if a user wanted to see the a category of "photographs" he be taken to my album listings of "urban", "macro", etc.

thangks again Gau!!  :o

[edit GauGau]
The stuff I formatted with strikethrough is not related to the subject of this thread and should have been posted in another thread (as we have a "one question per thread" policy). Erok appears to have realized this and has posted his question again on a separate thread, that's why I (sort-of) wiped out his second question)
[/edit]