menu menu
 

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

menu

Started by Crrash, August 26, 2005, 11:10:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Crrash

i once changed the menu word buttons to image buttons in one of the language files (german-utf8) and deleted all others.
now i have two themes and i would like the buttons to change accordingly also i would like to change the button layout of the second theme

how can i do this?

Joachim Müller

You shouldn't have changed them in the language file in the first place. Undo your changes in the language file and change your menu in the themes (themes/yourtheme/theme.php) instead.

Crrash

#2
 ;D duh... i just noticed that myself :P somehow evry time i opened theme.php i overlooked it....
ive also seen that search and favourites arent included... so i just added them... is that ok?

that wont give me so much control as i had hoped, but i think ill get there


well i wanted to add the theme drop down menu to the main menu to create something like this

_____
|____|   - main menu button

|-------|    - theme dropdown

_________________________________________________
|____||____||____||____||____||____||____|          |____|
|-------||____||____||____||____|                             |____|


well that looks almost as i want it to be....  well i want to have the dropdown menu in an extra cell with a background which looks like the main menu buttons so it looks like the theme dropdown menu is integrated into the main menu






well when are you planning to release coppermine 1.4.1 gold (or whatever you call the non alpha/beta version)? because i guess all this theme and menu work will become worthless for the 1.4.1 version

Joachim Müller

  • We have a "one question per thread" policy you agreed to respect
  • Quote from: Crrash on August 27, 2005, 04:47:51 PM
    ive also seen that search and favourites arent included... so i just added them... is that ok?
    They should already be there. If they are not, you might accidentally have removed them from your custom theme. Take a look at the standard themes that come with coppermine to see what's suppossed to be in the menu section.
  • Quote from: Crrash on August 27, 2005, 04:47:51 PM
    well i wanted to add the theme drop down menu to the main menu to create something like this
    This is done in themes/yourtheme/template.html - just move the {THEME_SELECT_LIST} placeholder token around.
  • Quote from: Crrash on August 27, 2005, 04:47:51 PMwell when are you planning to release coppermine 1.4.1 gold (or whatever you call the non alpha/beta version)? because i guess all this theme and menu work will become worthless for the 1.4.1 version
    There will be an upgrade guide that will teach you how to modify your custom theme to work with cpg1.4.x (this doc already exists), so there's no need to be alarmed.

Crrash

#4
i knew about the one question per thread policy... but i thought this counted still as the same.... sorry

i know about the {theme_select_list} placeholer, but the problem is that if i create a new cell, it will be beside the main menu and not intergrated... well ill continue my attempts at putting it on the right place