Not signed in (Sign In)

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

  1.  
    Here is a simple way to add the description to the current collection/album you are in at the top of the page.
    If you view a collection you will have that collections description shown.
    If you view a album you will have that albums description shown.
    Check out http://www.2faroffroad.com/2for/gallery to see it.
    Iā??ve been playing around with it and I found out how.
    Follow this and It will work.
    Make a backup copy of gallery.php before doing this.
    I am not a coder so I can not help if you have trouble.
    You choose to follow this at your own risk. So MAKE A BACK UP

    For Plogger - beta 2
    Open gallery.php and make the following changes.

    About line 710
    Replace:
    $breadcrumbs = ' <a accesskey="/" href="'.$_SERVER["PHP_SELF"].'">Collections</a> &raquo; <b>' . $row["name"] . '</b>';

    With:
    $breadcrumbs = ' <a accesskey="/" href="'.$_SERVER["PHP_SELF"].'">Collections</a> &raquo; <b>' . $row["name"] . ' - '.$row["description"].'</b>';

    Search for this in about line 720:

    $album_name = $row["name"];

    Add this after it:

    $album_desc = $row["description"];

    About line 734 Replace:

    $breadcrumbs = ' <a href="'.$_SERVER["PHP_SELF"].'">Collections</a> &raquo; ' . $collection_link . ' raquo; ' . '<b>'.$album_name.'</b>';

    With :

    $breadcrumbs = ' <a href="'.$_SERVER["PHP_SELF"].'">Collections</a> &raquo; ' . $collection_link . ' &raquo; ' . '<b>'.$album_name.' - '.$album_desc.'</b>';

    Save, upload and it should work..

    Check out http://www.2faroffroad.com/2for/gallery to see it.
  2.  
    Oh better check out this collection to see it the best.
    http://www.2faroffroad.com/2for/gallery/index.php?level=collection&id=11
    I forgot I did not have discretions on all of my albums yet
    • CommentAuthormarlies63
    • CommentTimeFeb 16th 2007
     
    wooh! I was looking for this, or at least it comes close and I'm happy with it, thank you!

    What I really wanted was to be able to add a bigger piece of text to an album, like the album descriptions, but the length of the description is limited (or is there a way to have an unlimited amount of characters?)

    I followed your instructions above to add the descriptions to the album pages only, so I didn't do the line 710 thing and in the line 734 part I moved the </b> forward so the description wasn't in bold and I added two <br>'s so the description wasn't in the same line as the name, but below, more like where I would've wanted to bigger piece of text.

    If it isn't possible to increase the amount of characters of the description, I'll just have to put in links in the descriptions to a normal page of the website, when I want more text (like a travel diary with vacation pics).

    Thanks again!