This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: Trying to stop JS to add in-line CSS for the .orig class #4579
    Pavelescu RazvanPavelescu Razvan
    Participant

    Hello!

    It worked out!

    I’ve saved the $res variable in a global variable and than just parse that global variable when accessing the search.php page: http://screencast.com/t/HMQOpJZKSq

    Thanks a lot for the help, I really appreciate it!

    I will ask my friend to write a nice feedback in the plugin comments section and also give you 5 stars!

    have a nice day,
    Razvan

    in reply to: Trying to stop JS to add in-line CSS for the .orig class #4570
    Pavelescu RazvanPavelescu Razvan
    Participant

    Alright, I got that, sounds logic.

    But why nothing appears on the search page when Override is active?

    I’ve read the hooks.php search override function but I can’t see where you create the query with the custom fields and where you return the search results

    I just want the basic override of search results to work

    in reply to: Trying to stop JS to add in-line CSS for the .orig class #4566
    Pavelescu RazvanPavelescu Razvan
    Participant

    Please go here and test, fill the search fields and click the search icon or hit enter: http://www.citypoppin.com/

    Then see the var_dump content from search.php

    in reply to: Trying to stop JS to add in-line CSS for the .orig class #4565
    Pavelescu RazvanPavelescu Razvan
    Participant

    Yes I am aware of that, I am using just the search box from another page to be redirected to the search page then inspect the var_dump

    Any thoughts?

    in reply to: Trying to stop JS to add in-line CSS for the .orig class #4562
    Pavelescu RazvanPavelescu Razvan
    Participant

    On the clean default search page: http://www.citypoppin.com/?s=hel

    I’ve made a var_dump and I saw that the override is not working at all

    This is the select from the query:

    SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND (((wp_posts.post_title LIKE ‘%hel%’) OR (wp_posts.post_content LIKE ‘%hel%’))) AND wp_posts.post_type IN (‘post’, ‘page’, ‘attachment’, ‘product’)…

    as you see, he does not search in the custom post types: “wp_posts.post_type IN (‘post’, ‘page’, ‘attachment’, ‘product’)”

    Also, the search custom field is not passed in the query at all.

    Any ideas?

    in reply to: Trying to stop JS to add in-line CSS for the .orig class #4547
    Pavelescu RazvanPavelescu Razvan
    Participant

    “You had a custom filter enabled, which does not match anything, plus the search in posts and pages was disabled.”

    I had a custom filtre enabled which was matching the clx_event_city meta of the events. It would have shown you inpage resulsts if you would have entered in the city field “Bicaz” and searched for a “party” keyword. – so the custom filtre enabled was not the issue

    “It means that the theme already has it’s custom search code, and it overrides the overriden search query by ajax search pro.”

    I have replaced my search page with the default search page from tweetythirteen but the page doesnt have the custom postype resulsts posibility

    How can I modify the original theme search.php file to work with your plugin? or How can I modify the tweetythirteen resuslts page to display results from the custom posttype named events?

    Razvan

    in reply to: Trying to stop JS to add in-line CSS for the .orig class #4544
    Pavelescu RazvanPavelescu Razvan
    Participant

    So if I use the default search page of wordpress will I it work?

    The custom field I am using is one of your fields with css and some little html structure changes, same ids, same classes names, same parameters but it is the same, is nothing new

    So now I am chaning the search page to be the wordpress’s default one. Do I have to do something else beside that?

    thanks a lot!

    in reply to: Trying to stop JS to add in-line CSS for the .orig class #4519
    Pavelescu RazvanPavelescu Razvan
    Participant

    Hey,

    I hope you can help me with the search results error.

    Could you point me where you re-write the default wordpress search resulsts for a string?

    As I said above, nothing shows up, just some warnings: http://screencast.com/t/s6t3YqQZ

    thanks,
    Razvan

    in reply to: Trying to stop JS to add in-line CSS for the .orig class #4505
    Pavelescu RazvanPavelescu Razvan
    Participant

    *** you can use ‘eve’ term keyword and ‘miami’ or ‘bucharest’ location keywords to test the functionality

    *** normal results listing using the results shortcode works smoothly, there is no issue

    in reply to: Trying to stop JS to add in-line CSS for the .orig class #4503
    Pavelescu RazvanPavelescu Razvan
    Participant

    Once again, thanks for the reply

    ** I have updated the website address and login details
    ** Plugin location on the website: http://screencast.com/t/57PXghsvKzA

    I finished the design and now everything is almost ready.

    I have 2 issues, a big issue and a small one:

    —————————-
    That big issue is that the results from the redirected page are not displayed.

    I checked the “overwrite wordpress results” option, meaning that the search results page should display only the posts delivered by your plugin: http://screencast.com/t/vNf3sXMZ

    Well, nothing shows up, only a couple of warnings: http://screencast.com/t/s6t3YqQZ

    If I don’t check the “overwrite wordpress results” it is showing the default search results from wordpress

    Could you take a look at the plugin configuration and see if I’ve done it right?

    Also, I hope I got it right and the search results should display only events that are delivered by your plugin, as they must be from a certain city

    ————–
    The small issue, the search is not redirecting when you enter 3 chars or change the settings, its redirecting only when you hit enter

    looking forward to hear an opinion,
    Razvan

    in reply to: Trying to stop JS to add in-line CSS for the .orig class #4483
    Pavelescu RazvanPavelescu Razvan
    Participant

    Thanks for the response!

    I managed to apply the filters and it works smoothly, I appreciate you gave me the function 🙂

    About the CSS rules overwrite, it does not work properly. I have issues with the overwriting of the rules because of the window resize, and other factors.

    The plugin will not be updated anymore, my friend is using it just for a certain job, so could you please tell me where I can find the function that adds the inline css to the .orig class and the instance classes?

    thanks,
    Razvan

    in reply to: Trying to stop JS to add in-line CSS for the .orig class #4449
    Pavelescu RazvanPavelescu Razvan
    Participant

    Hello again, – I was not able to open another ticket

    I want to modify the results query in order to receive also custom fields from custom post types.

    I identified the search query: http://screencast.com/t/2pYWz5Y0Z24

    I want to modify the query to also receive a “clx_event_city” postmeta information for the resulsts. How can I achieve that?

    So this is the DB table: http://screencast.com/t/Neisgn8cGz

    I know a bit of MySQL syntax, but I do not know how to get this information as the clx_event_city field is not in the default wp_post table.
    As you might already know, the custom meta posts are saved in the wp_postmeta, and I would have make a join to get the ids for the resulsts.

    How can I achieve this in terms of MySql query? Could you give me an example of a join?

    I know you are not here to cover our customization but I am having a hard time understanding your query syntax as it’s quite large and intimidating: http://screencast.com/t/0FeX9axHn

    thanks a lot,
    Razvan

Viewing 12 posts - 1 through 12 (of 12 total)