WordPress.org

Forums

WP Photo Album Plus
[resolved] Default setting in WPPA+ Photo Tag Filter Widget (10 posts)

  1. Granddadscott
    Member
    Posted 1 year ago #

    Wonderful Plugin WPPA+ excellent support by opajaap.
    Hopefully someone will solve this little problem for me.

    When running the Photo Tags Filter widget it's default setting in the tag selection box is set to "and" I would like the default to be "or".
    Any ideas how to achieve this.

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

  2. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    This requires code change:

    wppa-boxes-html,php line 126:

    var andor = "and";
    	if ( document.getElementById("andoror-'.$wppa['master_occur'].'").checked ) andor = "or";

    change to:

    var andor = "or";
    	if ( document.getElementById("andorand-'.$wppa['master_occur'].'").checked ) andor = "or";

    Note: there are 2 changes: "and" -> "or" and "andoror- -> "andorand-

  3. Granddadscott
    Member
    Posted 1 year ago #

    Thank you so much.

  4. Granddadscott
    Member
    Posted 1 year ago #

  5. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    Yes... that is my penalty when i do not test it.

    You will have a setting in 5.1.11 ( tomorrow or so... ) to set the tag system to 'or only' that hides the radiobuttons and always does the 'or'.

  6. Granddadscott
    Member
    Posted 1 year ago #

    I can only say that if all Plugin producers put as much effort
    in to helping the end users that you do WordPress would have a lot less
    problems with them.
    Once again Thank You very much.
    I will send a donation once again.

    Cheers

  7. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    Thanx for the donation. GranddadJaap ( = opajaap )

  8. Granddadscott
    Member
    Posted 1 year ago #

    Not a lot but your welcome.

  9. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed 5.1.11 Check the box on Table IX-C8

  10. Granddadscott
    Member
    Posted 1 year ago #

    Works great.
    Thank You

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Photo Album Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic