Member
Member
DerCommodore   28-02-2012, 18:40
#1

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)

Administrator
Administrator
acrylian   28-02-2012, 18:48
#2

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.

Member
Member
DerCommodore   28-02-2012, 18:53
#3

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

Member
Member
DerCommodore   28-02-2012, 19:16
#4

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.

Member
Member
DerCommodore   28-02-2012, 19:20
#5

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

Administrator
Administrator
acrylian   28-02-2012, 19:50
#6

Look at album.php.

Member
Member
sbillard   28-02-2012, 23:44
#7

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

Administrator
Administrator
acrylian   29-02-2012, 11:23
#8

Or alternative to album themes use the multiple_layouts plugin.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.