ZenphotoCMS Forum
Dynamic Album Update Fails - 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: Dynamic Album Update Fails (/thread-9710.html)



Dynamic Album Update Fails - DerCommodore - 2012-02-28

First of all great software. Saved me a lot of work so far.
But now I have a little problem.

I created a dynamic album for a tag. Works fine.
But then again I update one of the images tag's but those changes don't have any influences on the "dynamic" album.
The image doesn't appear in the album.
It's the same with removing a tag from an image.

So I thought it's maybe a cache problem. No.
Refreshed the database. No.
Refreshed the metatags. No.

What am I missing?
Please help.

Zenphoto version 1.4.2.1 [9138]
MySql version: 5.1.52
PHP version: 5.3.8
Current gallery theme: MPView (myown)




Dynamic Album Update Fails - acrylian - 2012-02-28

If you use the static html cache plugin you need to clear that cache as well. Also don't forget to clear your browser's cache.




Dynamic Album Update Fails - DerCommodore - 2012-02-28

The static html cache was the problem ... Thanks a lot.




Dynamic Album Update Fails - DerCommodore - 2012-02-28

One more question regarding this topic:
Is there a theme file to theme dynamic albums?

Because I want them to use like "normal" Albums but they were treated in the index.php template and failed somehow at the loop
`

while (next_album()): ?>

    ">

        " title="

            ">





        " title="

            ">

`

But the result looks like:
`

`

All the other albums work fine.
Thanks a lot.




Dynamic Album Update Fails - DerCommodore - 2012-02-28

Never mind.
Just realized that it uses the search.php for theming.

UPDATE: No just works only for the search .... not for the display process.. HELP again




Dynamic Album Update Fails - acrylian - 2012-02-28

Look at album.php.




Dynamic Album Update Fails - sbillard - 2012-02-28

Dynamic albums work just like normal albums so far as a theme is concerned. They are displayed by the album.php script. If you want to have special formatting for them you will have to assign an "album" theme to the dynamic album. If you want to do just a few things differently if it is a dynamic album you can test $_zp_current_album->isDynamic()




Dynamic Album Update Fails - acrylian - 2012-02-29

Or alternative to album themes use the multiple_layouts plugin.