Starting with everything Starting with everything
 

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

Starting with everything

Started by HCP, March 21, 2006, 07:58:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HCP

Quoteyou comment out stuff in php by putting two slashes in front of the code. To get rid of the login link, find
addbutton($sys_menu_buttons,'{LOGIN_LNK}','{LOGIN_TITLE}','{LOGIN_TGT}','login','');
and replace with
// addbutton($sys_menu_buttons,'{LOGIN_LNK}','{LOGIN_TITLE}','{LOGIN_TGT}','login','');
You're not meant to copy everything from the sample theme, but only the stuff you want changed.

Is it possible to copy everything in /themes/sample/theme.php to my own theme /themes/HCP/theme.php, then remove or change the things I don't want?

Joachim Müller

possible, but we recommend the other way round: Copy only the stuff you want to see changed from the sample theme into yours.

HCP

Sorry for asking such a stupid question, but I want to confirm this; I copy any code I want changed (the whole section of it) into my own theme without replacing anything?

Joachim Müller