Starting with everything Starting with everything
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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