Hi,
I have created in the functions.inc.php the following new cases:
topnd => most viewed today
topnw => most viewed last week
topnm => most viewed last month
These new metalbums are visible on the main screen bij adding these in the config.
So right now you see al three in the main page.
What I want is to see only one (let's say topnd as default) and that you can switch to topnw or topnm.
Maybe this can be done with tabs on the mostviewed block or another solution.
I know it can be switched with commands like this:
display_thumbnails('topnd', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
etc.
But I am unable to get this working.
Anyone with a solution ?
Here an example how I want it to be/work
I assume the most easiest solution would be to remove that meta albums from "The content of the main page", and add all functionality via the anycontent.php file with your already suggested code. Then you have to embed each meta album to a div block with a unique ID. The rest should be done with some JS / CSS code.
Oke,
For me this to much...(not enough knowledge)
Let me know if you are interested for this mod.
The functions.inc already has all the special things.
Edward
Thanks Andre...Works super....