Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    Hello,

    Does anyone know how to disable collections and just make the albums be the top level categories to choose from?

    Any help would be appreciated. Thanks!
    • CommentAuthorhominid4
    • CommentTimeOct 4th 2007
     
    I would like to know this too. I'm not sure why it's set up to where you HAVE to have collections but I would use this script if I disable that. Instead of "Collections" it should be "Albums" and if needed be possible to add sub-albums. I would like to do away with "Collections" all together, is that possible? I first was going through the files and renaming "Collections" to "Albums" but of course it still forces you to create a "collection".

    Thanks.
    • CommentAuthorjammindice
    • CommentTimeOct 5th 2007 edited
     
    ok all you have to do is make one collection and put all your albums under that... then open gallery.php and look for this line:

    $allowed_levels = array('collections','collection','album','picture','search');
    if (!in_array($GLOBALS['plogger_level'],$allowed_levels)) {
    $GLOBALS['plogger_level'] = 'collections';
    };

    and change it to something like this:

    $allowed_levels = array('collection','album','picture','search');
    if (!in_array($GLOBALS['plogger_level'],$allowed_levels)) {
    $GLOBALS['plogger_level'] = 'collection';
    $GLOBALS['plogger_id'] = 1;
    };


    then delete the "collections" parts out of the breadcrumbs in plog-functions.php but leave the link to main collection you have so that you have a way back to all the albums and that's it.
    • CommentAuthorhominid4
    • CommentTimeOct 5th 2007
     
    Great tip jammindice, it'd be nice also to be able to create a 'main' album and then if needed 'sub-albums'. I'll do this in the meantime.

    Thanks.
    • CommentAuthorjammindice
    • CommentTimeOct 5th 2007 edited
     
    i'm not sure why you would create sub-albums when you have collections and albums as two levels of organization... if you are looking for some different organization check out my ploggerb3-multi version:

    HERE

    it supports 1-5 levels of organization, and the ability to do sub-albums, in progress is the ability to add a picture to multiple albums and to support no levels of organization (if only one album then go right to pictures sort of thing)
    • CommentAuthorhominid4
    • CommentTimeOct 5th 2007
     
    The thing about the current 'collections' is that it forces you to first create a collection then albums underneath that. Most of the time I'll just have albums on the home page; but there are times when I would like to have a sub-album. It would be nice t have that choice instead of being forced.

    Thanks for the link I'll look into it.
    • CommentAuthorisign4jc
    • CommentTimeNov 29th 2007
     
    I'd like to say a big thanks for this code. I was searching all over the place for the solution. Can anyone confirm for me, though, how many places I should remove "collections" from the breadcrumbs in the plog-functions file?