Prosilver theme not working? Prosilver theme not working?
 

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

Prosilver theme not working?

Started by derangedtaco, November 22, 2008, 08:15:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

derangedtaco

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

Joachim Müller

#1
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.

derangedtaco

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!

Joachim Müller

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?

derangedtaco

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).

derangedtaco

Oh... I understand. I'll do the full upgrade to 1.4.19, instead of the security release.

derangedtaco

All done, I'm at 1.4.19 now. But when I apply the prosilver theme it still looks weird.

Joachim Müller

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".

derangedtaco

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."

Nibbler

Try setting 'Number of levels of categories to display' to 1 in config.

derangedtaco

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?


Joachim Müller

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".

Gr4ff1t1sTar

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.

derangedtaco

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