Chaotic Soul, again... Chaotic Soul, again...
 

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

Chaotic Soul, again...

Started by hundfoto, September 19, 2007, 10:33:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hundfoto

http://www.hundfoto.net/cpg1410/index.php

At my index page i have two lines.
"
Köp dina bilder här!
Köp dina bilder här!
"

The first one is liked to a page, and I would like to change the text on that one.
The other one I would like to remove.
But I can't find what file to change it in? I ca'nt find it in settings, it must have been done in some file.
Someone else has made it so I just can't find it!

Nibbler

Check anycontent.php. If it's not there try include/themes.inc.php.

hundfoto

Thanks! Even that i thought i checked this file =)
I guess i'm blind today!   ???

Joachim Müller

@Nibbler: imo we should not advice users to edit include/themes.inc.php.

@hundfoto: disregard Nibbler's suggestion. Undo the change if you have applied it already. Apply your edit to themes/yourtheme/theme.php instead. If the section you want to edit doesn't exist in your custom theme, copy it (just that section, not the entire content of the file) from themes/sample/theme.php to themes/yourtheme/theme.php. Please use a better subject next time you start a thread.


Nibbler

hundfoto is trying to remove text that was already added by someone else. If that code had been added (wrongly) to themes.inc.php then it would be perfectly acceptable for hundfoto to remove it.

Joachim Müller

OK, thanks for the clarification. I suggest getting a fresh (vanilla) copy of include/themes.inc.php and replace the existing, modified one. Will happen if you upgrade as suggested in the other thread.