Support » Plugin: WP Photo Album Plus » [Plugin: WP Photo Album Plus] Link in slideshow not functioning for topten widget

  • Resolved Sylvie Clément

    (@oelita)


    Hello,

    I use the topten widget for all albums (but I only have one existing album for now). I chose in links options to link to the fullsize photo in the slideshow, and created a page (named galerie-photo), with only %%wppa%% inside, to link to.
    The url which is generated in the widget looks like :
    mywebsite/galerie-photo/?wppa-album=0&wppa-photo=4&wppa-topten=10&wppa-occur=1

    My problem is : the page only shows the photo I clicked on, and no slideshow at all. How to get a slideshow with it ?

    The “picture of the day” widget opens the photo in a slideshow, it is OK with that one (it uses the same page).

    NB : I only have 3 pictures in my topten for now, can it be a problem ?

    Thanks for your plugin, very nice one.

    http://wordpress.org/extend/plugins/wp-photo-album-plus/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Thank you for finding and reporting this bug.
    It will be fixed in version 4.2.2.
    If you can’t wait a week or so, edit wppa-functions.php

    Line 340 reads: ( it is located 20 lines below: function wppa_page($page) { )

    if (wppa_get_get('album')) {

    change it into:

    if (wppa_get_get('album') || wppa_get_get('topten')) {

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    The above will work in your case, but the correct fix is:

    if (wppa_get_get('album') !== false) {

    Thanks !

    Hmmm, I made the fix, and now it opens ok in a slideshow, but I can’t see the picture anymore ?
    My website is now online here : http://www.trollfjord.fr

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    It appears that it also required another patch which i overlooked:
    line 631 and 632 near the end after LIMIT : change %s into %d in both lines one time.

    However, don’t bother, version 4.2.2 will become available today.
    Sorry for the confusion i caused.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Photo Album Plus] Link in slideshow not functioning for topten widget’ is closed to new replies.