Help with content of page for different themes. Help with content of page for different themes.
 

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

Help with content of page for different themes.

Started by Artin1, March 22, 2009, 04:14:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Artin1

Hey, I tried searching for this to prevent a new topic, but I didn't find anything. My content set up is "breadcrumb/lastalb,2/catlist/alblist/random,1/lasthits,1" and I am making a new theme for people can change to for something really simple. But I don't want lastalb etc to show only in that theme? So how can I do that? Would it be done via theme.php?

Thanks,
Artin

Joachim Müller

I suggest doing that the other way 'round: remove lastalb for everyone and add the content of lastalb (if you must have it) for the default theme using cpmFetch. I strongly suggest to review the entire idea to offer two themes: the theme selector has been added in the first place for the sake of our demo. It doesn't make much sense in other setups, where Coppermine's purpose usually isn't to show what the app can do, but to provide functionality to view images.

Artin1

Thanks for that suggestion. Yes I only give one theme available to the visitors. But I am trying to create a mobile friendly theme. So they can access it by index.php?theme=mobile or something like that. So I don't want any of the random images, most viewed, last album etc to be on the mobile theme. I shall try that cpmfetch then. Thanks!

Artin

Joachim Müller

OK, I understand that. But just removing a meta album usually is not enough to make your gallery look nice on mobile screens - usually, you need to come up with smaller thumbnails, another navigation and of course a different stylesheet although you can accomplish this using the media attribute as well).
Why don't you post a link to your gallery for a start?