Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › pictures are not shown, drop down background
- This topic has 37 replies, 2 voices, and was last updated 6 years, 8 months ago by
Brigitte08.
-
AuthorPosts
-
September 23, 2019 at 9:10 am #24100
Brigitte08
ParticipantYou cannot access this content.
September 24, 2019 at 1:06 pm #24108Ernest Marcinko
KeymasterThank you!
Okay, so I have spent hours debugging this, and it turns out, that the ngg_images (or any nextgen gallery shortcode) is not registered during the time of the execution of the ajax request.
I have looked through the NGG plugin API to see if there is any way to force, register those modules, but I could not find the proper way to do so. The images are not showing, because the gallery shortcode is not executed, and the plugin cannot parse the images. Every other shortcode is okay, but that gallery does not work.I am guessing that there is either some sort of exception within the gallery plugin to not to register it’s shortcodes within ajax context, or there is some sort of a precentence related issue, I honestly can’t tell. If you want, you can ask the gallery author, if there is any possible way of initializing the plugin shortcodes programatically.
Maybe there is a function I could call to initialize the modules, but I was not able to find it within the code unfortunately.September 24, 2019 at 2:12 pm #24110Brigitte08
ParticipantYou cannot access this content.
September 24, 2019 at 2:29 pm #24111Ernest Marcinko
KeymasterYou cannot access this content.
September 25, 2019 at 7:51 am #24113Brigitte08
ParticipantYou cannot access this content.
September 26, 2019 at 1:09 pm #24124Ernest Marcinko
KeymasterSure, to have those colored as well, try this custom CSS:
div.asp_w.asp_sb.searchsettings .asp_custom_f input[type=text] { background-color: #d3f7f7 !important; }Well, if there is any custom field maybe, that mars the available accomodations, then maybe that could be used via a ‘hidden’ type custom field filter.
September 26, 2019 at 4:27 pm #24126Brigitte08
ParticipantYou cannot access this content.
September 27, 2019 at 2:43 pm #24138Ernest Marcinko
KeymasterSure, but I need to know how the availability is “marked”. Is there a custom field, or any other method that tells if the given accomodation is occupied?
September 27, 2019 at 3:30 pm #24140Brigitte08
ParticipantYou cannot access this content.
September 30, 2019 at 9:36 am #24155Ernest Marcinko
KeymasterYou cannot access this content.
September 30, 2019 at 12:51 pm #24165Brigitte08
ParticipantYou cannot access this content.
October 1, 2019 at 2:48 pm #24173Ernest Marcinko
KeymasterYou cannot access this content.
October 1, 2019 at 3:52 pm #24174Brigitte08
ParticipantYou cannot access this content.
October 2, 2019 at 8:23 am #24183Ernest Marcinko
KeymasterYou cannot access this content.
October 2, 2019 at 11:15 am #24185Brigitte08
ParticipantYou cannot access this content.
-
AuthorPosts
- You must be logged in to reply to this topic.