Forums

NextGEN Gallery
[resolved] Create a drop-down list of all galleries (3 posts)

  1. un_user
    Member
    Posted 3 months ago #

    Hi,
    I want to create a drop-down list of all galleries and change the id of the default short code( [nggallery id="the_chosen"] ) with the chosen one.
    For example:
    gallery one
    gallery two - selected
    ....
    gallery n

    [nggallery id="$the_selected"]

    I'm not very good at javascript and php, so I'll be very appreciate if you can help me,
    Thanks.

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. un_user
    Member
    Posted 3 months ago #

    i found how to change the id on an element with the chosen one(see this), but how to list all galleries and their id's?

  3. un_user
    Member
    Posted 3 months ago #

    I found this too :) -$gallerylist = $nggdb->find_all_galleries();

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.