Not signed in (Sign In)

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

    • CommentAuthorn0urakham
    • CommentTimeJul 26th 2007 edited
     
    Hello,

    Is there a way (a function?) to retreive the ID of the album displayed in the current page?

    Let's say I have two albums and I want a certein event to occure only on one of them.
    I have to retrieve the ID of the current album to include it in an IF statement,

    Thanks in advance!
    •  
      CommentAuthormike
    • CommentTimeJul 26th 2007
     
    Depends what page you are on, if you are looking at your albums theme file you can use the function plogger_get_album_id() and Plogger will give you the ID of the album currently loaded in the loop
    • CommentAuthorn0urakham
    • CommentTimeJul 27th 2007
     
    Hey Mike, thanks for replying!

    However,

    plogger_get_album_id() is not working on picture.php

    the idea is to detect in which album the current picture is in.

    Thanks again.
    • CommentAuthorn0urakham
    • CommentTimeJul 30th 2007
     
    *bump*