Not signed in (Sign In)

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

    • CommentAuthoryashars
    • CommentTimeMay 11th 2009 edited
     
    hi
    i'm new to plogger and also this forum :)
    i have installed plogger (Version: 1.0beta4) just yesterday and started to play with it for some hours , it is really a very nice, light and clean software, better than other softwares :)
    i've made some changes, for now (may be doing some later), thought i have to share it with you, may be usefull for the next version:

    plog-functions.php
    function plogger_get_picture_caption....
    if (!isset($GLOBALS['current_picture']['caption']) || $GLOBALS['current_picture']['caption'] == '') {
    return 'untitled';
    }


    and also:


    function get_head_title() {
    global $config;
    $title = generate_title($GLOBALS['plogger_level'], $GLOBALS['plogger_id']);
    if (!isset($config['gallery_name']) || $config['gallery_name'] == '') {
    return ($title);
    }
    else {
    return (SmartStripSlashes($config['gallery_name']).': '.$title);
    }

    }




    the first one, used when the user forget to insert the name of the images, so it will be "untitled"
    and the second one, i find out when you leave the name for the gallery empy, there will be something like this:
    :name of the collection
    so in this case, if it is empty, there will be just the name of the collection(or album) without this sign : (sorry i do not know the name of this sign in english ) :)
    hope it was usefull