Forums

nextgen-gallery- Add to sidebar without using widget? (12 posts)

  1. Sydney078
    Member
    Posted 1 year ago #

    To plugin author- is there a way to add the gallery to the sidebar.pho without using widgets since when I implement the widgets, it overwrites EVERYTHING I want on my sidebar and also pushes the search form into the blog posts area?

    Thanks for any feedback

  2. kulpreetsingh
    Member
    Posted 1 year ago #

    Which gallery are you trying to add to your sidebar?

  3. Sydney078
    Member
    Posted 1 year ago #

    The only one I have created so far.. which I called Support Photos

  4. Sydney078
    Member
    Posted 1 year ago #

    *bump

  5. alexrabe
    Member
    Posted 1 year ago #

  6. idahsto8
    Member
    Posted 1 year ago #

    Can you tell me where to put that code? Do I put all of it in the sidebar file? Or do I put the function in another file and call it? Can you give me a few steps please.

  7. DJIanis5552
    Member
    Posted 1 year ago #

    You can put it in the sidebar file :
    Where you want to add it in your sidebar, insert the following code :

    <?php
    if (function_exists("nggSlideshowWidget"))
    { nggSlideshowWidget($galleryID,$Width,$Height); }
    ?>

    Then, replace $galleryID by the ID of the gallery you want, $Width by the widht of the gallery area, and $Height ...

    It must works !
    (I'm French so sorry for my bad language)

  8. idahsto8
    Member
    Posted 1 year ago #

    I inserted this, it didn't work. I am sure I am missing something completely obvious...

    <?php
    if (function_exists("nggSlideshowWidget"))
    { nggSlideshowWidget(7,300,400); }
    ?>

  9. alexrabe
    Member
    Posted 1 year ago #

    you MUST enable the NextGEN widget plugin...

  10. idahsto8
    Member
    Posted 1 year ago #

    Thanks!

  11. azarmig
    Member
    Posted 1 year ago #

    hi,
    thanks a lot for this!
    it worked for me too (at 3AM)!
    amm, i am looking for the code to display the flash slideshow in the sidebar...what would that be?

  12. mmcdonald607
    Member
    Posted 1 year ago #

    I just want to add the regular "picture list" NextGen gallery to my sidebar. I've looked at the code on this page and it has several options, but that one seems to be missing (using widget).
    http://nextgen.boelinger.com/2007/05/24/new-widget-support/

    All other quasi-simple ideas appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic