Not signed in (Sign In)

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

  1.  
    Is there a way to default to a collection, instead of having collections be the first item visible, may albums under a collection be visible, to keep the user from needing to drill down into a collection before the albums are available?? or deafult to a specific album so many pictures are available instead of just one collection..

    I thought about using many collections, though then they have to select an album under a collection to get to the images.. I have only a few categories.. I do not want my visitors to see only one picture( the colelction ) and then a few pictures ( the albums ) before they get to the pictures. Can plogger default to display albums for a particular collection?
  2.  
    Found a fix..

    I found the global variables and set these according ly.

    I included a url parameter so that things would work right..
    this is my code

    if($_REQUEST['init']!=''){
    $GLOBALS['plogger_level'] = "collection";
    $GLOBALS['plogger_id'] = "2";
    }
    the_gallery();

    this did what I needed it to do!
    • CommentAuthorzappa
    • CommentTimeMay 27th 2008
     
    <blockquote><cite>Posted By: leeburstroghm</cite>Found a fix..

    I found the global variables and set these according ly.</blockquote>

    hi leeburstroghm.
    that's what I am looking for.

    so please,
    where did you add the following??

    <blockquote>if($_REQUEST['init']!=''){
    $GLOBALS['plogger_level'] = "collection";
    $GLOBALS['plogger_id'] = "2";
    }
    the_gallery(); </blockquote>

    I played around with the plog-functions, but this does not work propperly!

    thanks for your help
    zappa
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 27th 2008 edited
     
    zappa,

    The code looks like it is placed in your 'index.php' file within Plogger or in the page where you are including the Plogger code.
  3.  
    I have just installed version 3.0 beta.

    this is now a new problem as using
    if($_REQUEST['init']!=''){
    $GLOBALS['plogger_level'] = "collection";
    $GLOBALS['plogger_id'] = "2";
    }
    no longer works to have a default collection.. How do we do this with the new version?
  4.  
    this is what I ended up doing to get mine to default to a collection..

    if(!isset($_REQUEST['level'])){
    $GLOBALS['plogger_level'] = "collection";
    $GLOBALS['plogger_id'] = "3";
    }

    perhaps it works for everyone, or if someone has a better solution, please post!
    • CommentAuthorGrxmites
    • CommentTimeSep 13th 2008
     
    So where does this little code go into.
  5.  
    please, where would i place this code to get this to work for me?