Script error in pta-display-directory.php

HomeForumsGeneral Support – NOT for Volunteer and PTA plugins!Script error in pta-display-directory.php

  • This topic is empty.
Viewing 0 reply threads
  • Author
    Posts
    • #2258
      Mark Niggemann
      Guest

      The script file pta-display-directory.php includes several erroneous comparisons against the $options[‘enable_location’] hash. For display, I would have expected that you use the $option[‘show_location’] hash for determining whether or not you show the location in the display. I am using location rather differently because I wanted to have two categorizations for each adult leader in our Boy Scout troop. There is the individual position as usual and I’m using location to incorporate program leaders, committee leaders, and key leaders. This doesn’t work well when I explicitly enable location entry, but disable showing locations in the control panel. When I display the entire list using [ pta_member_directory ] short code, I get locations even though I disabled them from showing on the contact form. I can email the patched version I’ve made for 1.6.5. Thanks!

Viewing 0 reply threads
  • You must be logged in to reply to this topic.