I wonder if it is possible to implement plogger to show only albums and not collections. In short. I would like to reduce one level cuz I don't have that many images.
Could someone give me some guidelines? maybe I would have to change the code...If it is simple, that´s fine.
Just create a single collection. You can put as many albums as you need into it. If you don't want people to have to click in to the single collection to see your albums, you can link to your albums page directly.
If you're using mod_rewrite, you could just have all your gallery links point to http://www.yoursite.com/plogger/collection-name/. This would create the illusion that your gallery is just albums. Even with mod-rewrite off you could do the same thing, just with a crufty URL.
There is no simple code fix for this --, you would have to do quite a bit of heavy modifications to change the collections/albums paradigm -- the entire program is based on it.
It's simple to use in Plogger. Just make sure your .htaccess file in your Plogger directory has write permissions (Use CHMOD/Change permissions in your FTP editor). Then, under the Plogger option page, check "Use Cruft Free URL's".
This will rewrite your URLs to look much nicer, instead or http://www.yoursite.com/plogger/index.php?level=album&id=32
they will be http://www.yoursite.com/plogger/collection-name/album-name/
i've done this with 2 lines of code... on "gallery.php" line 54-57 says:
$allowed_levels = array('collections','collection','album','picture','search'); if (!in_array($GLOBALS['plogger_level'],$allowed_levels)) { $GLOBALS['plogger_level'] = 'collections'; };
change it for
$allowed_levels = array('collection','album','picture','search'); if (!in_array($GLOBALS['plogger_level'],$allowed_levels)) { $GLOBALS['plogger_level'] = 'collection'; //no collectionS $GLOBALS['plogger_id'] = '1'; //suposing that you only want collection number 1. };
so, when you enter www.yoursite.com/plogger it will link you directly to your collection number 1