Rating in albums

Congrats, this is one hell of a script and easy to use! [u]One small question[/u] I have made 3 albums and in two of them i can see the rating image and in one of them i can't. I have did a search for it in the config files but i could not find any difference between the 3 config files in the albums. So i am wondering what is wrong in here??? Also, how to setup each config for each album through the admin panel, or is this not possible? Anyway, hope this script will have a long live ;)

Post edited by freaky, at 2006/05/08 1027

Re:Rating in albums

Well, it looks that all this works fine now ;)

Thanks a lot for a good and quick reply!

Re:Rating in albums

Yes this is normal, every album should have an index.php and configuration.php file.

In your directory ../galleries there should only be the index.php file and a configuration.php file for your gallery overview (index page with all albums).

In the first gallery jap-rides, there should be an index.php file and a configuration.php file.

In the second directory euro-rides there should be a index.php file and a configuration.php file. If you open the admin panel of this album, it should mention 'use configuration from album jap-rides'.

Same for the s2000 and other albums.

Now you can change the layout in the album jap-rides and it will apply to all the albums in the gallery.

If you prefer not to have the 'real' index.php file in every album you can also use a simple index.php file with an include, create a index.php file in a text-editor such as<?php
include('../index.php');
?>

Re:Rating in albums

The weird thing is that always the same album do not show the rate image and the other two does, even if i try the 3 different config files as described in your reply. Can you also tell me to which config file the configuration is saved? Is it the config in the main "galleries" directory or one from another subgallery?

[u]My setup is as follow[/u]
.../galleries
.../galleries/jap-rides
.../galleries/euro-rides
.../galleries/S2000-special

and i want to setup some more subs if possible.

Also, the 3 sub albums have all the index and configuration files, is this normal? i have tryed to delete the ones that should not needed, bu when delting them i have the original black layout ????

Post edited by freaky, at 2006/05/08 1734Post edited by freaky, at 2006/05/08 1738

Re:Rating in albums

If the albums have the same layout, it is easier just to configure one albums layout and have all other albums use the same 'configuration.php' file. This can be set in the admin configuration panel (see screenshot)

This assumes you created a multi-album gallery

www.yourwebsites.com/gallery/index.php
www.yourwebsites.com/gallery/firstalbum/index.php
www.yourwebsites.com/gallery/2ndalbum/index.php
www.yourwebsites.com/gallery/3rdalbum/index.php
etc.

[img]http//www.mywebmymail.com/components/com_simpleboard/uploaded/images/configuration.png[/img]Post edited by admin, at 2006/05/08 1404