[Plugin: NextGEN Gallery] Showing galleries and albums in the template using php functions (4 posts)

  1. ELAN42.com
    Posted 6 years ago #


    How do I recall something like [gallery=4] in php with functions?

    I have to do a template for a gallery and I need to show galleries in a column and the contained pictures of the clicked-gallery in the content of the page.

    Do someone know how to do that?

  2. ELAN42.com
    Posted 6 years ago #

    no way?

  3. Alex Rabe
    Posted 6 years ago #

    All functions are located in nggfunctions.php, this you can use in any PHP template...

  4. ELAN42.com
    Posted 6 years ago #

    I tried and it works, often, but in certain cases it doesn't.

    For example if the plugin is called somewhere, like when you are browsing a gallery's pictures so you're in a page like "?album=1&gallery=1" it doesn't work.

    That is the code: echo nggShowAlbum(1,null);

    This displays correctly the album in a normal page, but if I click on the gallery (so I browse the pictures) the function doesn't work anymore.

    I badly need to have AT THE SAME TIME the galleries on a menu and the pictures in the page's content.

    So what can I do?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.