![]() |
|
Change of album.php for a specific album - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Change of album.php for a specific album (/thread-7946.html) |
Change of album.php for a specific album - minutepapillon - 2010-12-12 Hi everyone, Thank's for any advice ! Change of album.php for a specific album - acrylian - 2010-12-12 The next version (or the nightly if you want to try) will contain a plugin named "mutliple_layouts" that will allow to assign special layout theme pages to all main itlems (as there are images, albums, Zenpage pages, news articles and categories) Meanwhile you will have to do this using the object model directly (see the tutorial for that and if you haven't already the theming tutorial as well). Check for the album name with a if/else or a switch() clause and then do your special stuff. Change of album.php for a specific album - minutepapillon - 2010-12-24 Thanks Acrylian, ... but as I'm writing these words I think "try to do the php trick yourself ... don't be such a lazy slug ..." Change of album.php for a specific album - sbillard - 2010-12-25 http://www.zenphoto.org/trac/roadmap (Of course, this is only a projection.) Change of album.php for a specific album - sbillard - 2010-12-25 Not exactly sure what test you are asking. But here is a guess:
Change of album.php for a specific album - minutepapillon - 2010-12-25 Thanks,
` As you guess I don't do this to display you're in shop ... The next code (from image.php) does not work in album.php : Change of album.php for a specific album - sbillard - 2010-12-25
Change of album.php for a specific album - sbillard - 2010-12-25 BTW, your other code has a lurking flaw. If "shop" happens to start the album name your if ($pos) will not succeed. You need if ($pos != false) to be sure. One of those strange things about PHP that you just have to get used to. The value zero is also Change of album.php for a specific album - minutepapillon - 2010-12-25 Thanks for the For the I guess it's a specific zpgalleriffic problem ... isn't it ? Suddently I get pessimistic ... :o( .... Change of album.php for a specific album - sbillard - 2010-12-26 I'm not familiar with that theme at all. If you know the image you want, look for the "makeimagecurrent" function. (or something like that, don't have the source handy at the moment) Otherwise, maybe the theme author will step in and help. Change of album.php for a specific album - minutepapillon - 2010-12-28 Ok ... |