coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: hundfoto on September 19, 2007, 10:33:09 AM

Title: Chaotic Soul, again...
Post by: hundfoto on September 19, 2007, 10:33:09 AM
http://www.hundfoto.net/cpg1410/index.php (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!
Title: Re: Chaotic Soul, again...
Post by: Nibbler on September 19, 2007, 11:06:11 AM
Check anycontent.php. If it's not there try include/themes.inc.php.
Title: Re: Chaotic Soul, again...
Post by: hundfoto on September 19, 2007, 11:15:24 AM
Thanks! Even that i thought i checked this file =)
I guess i'm blind today!   ???
Title: Re: Chaotic Soul, again...
Post by: Joachim Müller on September 20, 2007, 08:34:22 AM
@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.

Title: Re: Chaotic Soul, again...
Post by: Nibbler on September 20, 2007, 09:57:52 AM
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.
Title: Re: Chaotic Soul, again...
Post by: Joachim Müller on September 20, 2007, 06:21:15 PM
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.