WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] Album variable ?! (7 posts)

  1. Kitefr
    Member
    Posted 5 years ago #

    Hi !

    Just a question about this wonderful Plugin !

    I use the <?php echo $gallery->title ?> in gallery.php for add the title of the gallery.
    I need to add the title of the album too so i tried to use this code :
    <?php echo $album->title ?> but it didn't work at all and i wanted to know if they are a way to display the album title with a variable in NextGen Gallery ?!

    Thanks in advance !

  2. Alex Rabe
    Member
    Posted 5 years ago #

  3. Kitefr
    Member
    Posted 5 years ago #

    Ohhh thanks a lot !

  4. Kitefr
    Member
    Posted 5 years ago #

    I view this topic but not worked for me :/

  5. Kitefr
    Member
    Posted 5 years ago #

    So... the trick you tell is the other topic don't work for me.
    I made some code for testing the variable and
    1) the $album variable is defined
    2) the $album variable is empty !

    I don't know why the $album viariable is empty :/

    I add for the test :

    <?php $album = nggdb::find_album( get_query_var('album') ); ?>
    <?php if(isset($album)) echo '$album load..... ok !<br />'; ?>
    <?php if($album != '') {echo '$album is not empty';} else {echo '$album is empty...';} ?>

    A solution ?!

  6. Kitefr
    Member
    Posted 4 years ago #

    up

  7. psoderlund
    Member
    Posted 4 years ago #

    Sorry.. I replied to already existing.. I made my own post, desregard this post.
    Cheers
    Peter

    Hi, Just moved to new hosting site running Linux and I have a strange problem. I moved my entire site from home hosting to this one and after setting everything up all seems to be ok but some of my galleries are missing ?? and some are not. Initial thoughts are that this is a rights issues but how come the other albums work fine (http://www.soderlund.dk/wp02/?page_id=3). At the moment I cannot even add new gallery, I get error that the server Safe-Mode is on and tells me to try to add the folder manually which I have also tried.
    I try to give all of the involved folder the 777 access but it doesnt seem to help ?? Any ideas were I'm going wrong and how come some of the folders seem to work ?

    Hoping for some tips on this ??
    Best regards
    Peter

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags