coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: derangedtaco on November 22, 2008, 08:15:07 AM

Title: Prosilver theme not working?
Post by: derangedtaco on November 22, 2008, 08:15:07 AM
Anyone have an idea of what's going on? http://www.derangedtaco.com/images/prosilver-gallery.jpg [Edit GauGau] Replaced hotlinked image with attachment [/Edit]

It's supposed to look somewhat like this: http://coppermine-gallery.net/demo/cpg14x/index.php?theme=prosilver

Any help would be appreciated
Title: Re: Prosilver theme not working?
Post by: Joachim Müller on November 22, 2008, 10:26:38 AM
Link to your gallery? Probably http://www.derangedtaco.com/gallery/. If yes, then the prosilver theme preview would be http://www.derangedtaco.com/gallery/?theme=prosilver
I can confirm that the page looks fishy. Zip your copy of the prosilver theme and attach it to your posting.
Also upgrade to cpg1.4.19 before doing anything else.
Title: Re: Prosilver theme not working?
Post by: derangedtaco on November 22, 2008, 11:52:43 PM
Yes, http://www.derangedtaco.com/gallery is the URL. And I'm already at cpg1.4.19.
Here's the zip. Thanks for your help!
Title: Re: Prosilver theme not working?
Post by: Joachim Müller on November 23, 2008, 02:56:12 PM
Quote from: derangedtaco on November 22, 2008, 11:52:43 PM
And I'm already at cpg1.4.19.
No, you're not. You're still running cpg1.4.19! Applying the security-related patch mentioned in the announcement thread for the release in cpg1.4.19 doesn't perform a full upgrade to cpg1.4.19 - it just fixes that one security-critical issue. The non-security critical issues that have been changed from cpg1.4.18 to cpg1.4.10 are not being taken into account.

Quote from: derangedtaco on November 22, 2008, 11:52:43 PM
Here's the zip. Thanks for your help!
Using the zipped theme you attached works fine on my testbed. So this is not directly related to the theme, but to some other modification that you have applied on your gallery. Did you apply any mods or plugins?
Title: Re: Prosilver theme not working?
Post by: derangedtaco on November 23, 2008, 04:54:12 PM
I installed the 1.4.19 security release from this URL. http://forum.coppermine-gallery.net/index.php/topic,54235.0.html

But as for modifications, I have installed none. However I may have removed a few elements from the template... But that was with the old theme, chaoticsoul. So that shouldn't have any effect on this new theme, right?

Perhaps I should attempt a partial reinstall? As in, get the latest coppermine release and then overwrite most of my current installation? But you'd have to let me know which files to keep (config.inc.php would be one of them for sure, but I don't know about any of the other files).
Title: Re: Prosilver theme not working?
Post by: derangedtaco on November 23, 2008, 04:56:58 PM
Oh... I understand. I'll do the full upgrade to 1.4.19, instead of the security release.
Title: Re: Prosilver theme not working?
Post by: derangedtaco on November 23, 2008, 05:31:46 PM
All done, I'm at 1.4.19 now. But when I apply the prosilver theme it still looks weird.
Title: Re: Prosilver theme not working?
Post by: Joachim Müller on November 23, 2008, 06:59:29 PM
Quote from: derangedtaco on November 23, 2008, 04:54:12 PM
Perhaps I should attempt a partial reinstall?
No! Don't!

Quote from: derangedtaco on November 23, 2008, 04:54:12 PM
As in, get the latest coppermine release and then overwrite most of my current installation?
That's what you're supposed to do when upgrading.
Quote from: derangedtaco on November 23, 2008, 04:54:12 PMBut you'd have to let me know which files to keep (config.inc.php would be one of them for sure, but I don't know about any of the other files).
That is being explained in the docs, section "upgrading".
Title: Re: Prosilver theme not working?
Post by: derangedtaco on November 23, 2008, 09:20:22 PM
Disregard that post. See the one I made later, it says "All done, I'm at 1.4.19 now. But when I apply the prosilver theme it still looks weird."
Title: Re: Prosilver theme not working?
Post by: Nibbler on November 23, 2008, 09:44:22 PM
Try setting 'Number of levels of categories to display' to 1 in config.
Title: Re: Prosilver theme not working?
Post by: derangedtaco on November 23, 2008, 09:53:03 PM
Quote from: Nibbler on November 23, 2008, 09:44:22 PM
Try setting 'Number of levels of categories to display' to 1 in config.
Yes, that fixed it, thanks.

But I would prefer for the subcategories/subalbums to be shown on the index. Is there any way to accomplish this?
Title: Re: Prosilver theme not working?
Post by: derangedtaco on November 28, 2008, 04:50:39 AM
Bump
Title: Re: Prosilver theme not working?
Post by: Joachim Müller on November 28, 2008, 07:39:39 AM
Bump what?
Quote from: derangedtaco on November 23, 2008, 09:53:03 PM
But I would prefer for the subcategories/subalbums to be shown on the index. Is there any way to accomplish this?
Yes, if you re-code the theme. Emphasis lies on the word "you".
Marking thread as "solved".
Title: Re: Prosilver theme not working?
Post by: Gr4ff1t1sTar on November 28, 2008, 08:04:59 AM
if you do not need the category thumbnails you can do this in theme.php:

find:
<dt>{CAT_THUMB}<span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</dt>

change to:
<dt><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</dt>

{CAT_THUMB} adds an additional spacer that breaks the layout as it closes some table, that does not exist in this theme.
Title: Re: Prosilver theme not working?
Post by: derangedtaco on November 28, 2008, 07:39:25 PM
Quote from: Gr4ff1t1sTar on November 28, 2008, 08:04:59 AM
if you do not need the category thumbnails you can do this in theme.php:

find:
<dt>{CAT_THUMB}<span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</dt>

change to:
<dt><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</dt>

{CAT_THUMB} adds an additional spacer that breaks the layout as it closes some table, that does not exist in this theme.
Thanks! ;D