Forum Replies Created
-
AuthorPosts
-
April 24, 2015 at 1:19 am in reply to: Trying to stop JS to add in-line CSS for the .orig class #4579
Pavelescu Razvan
ParticipantHello!
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,
RazvanApril 22, 2015 at 5:53 pm in reply to: Trying to stop JS to add in-line CSS for the .orig class #4570Pavelescu Razvan
ParticipantAlright, 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
April 22, 2015 at 5:32 pm in reply to: Trying to stop JS to add in-line CSS for the .orig class #4566Pavelescu Razvan
ParticipantPlease 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
April 22, 2015 at 5:30 pm in reply to: Trying to stop JS to add in-line CSS for the .orig class #4565Pavelescu Razvan
ParticipantYes 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?
April 22, 2015 at 5:09 pm in reply to: Trying to stop JS to add in-line CSS for the .orig class #4562Pavelescu Razvan
ParticipantOn 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?
April 22, 2015 at 2:40 pm in reply to: Trying to stop JS to add in-line CSS for the .orig class #4547Pavelescu 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
April 22, 2015 at 2:06 pm in reply to: Trying to stop JS to add in-line CSS for the .orig class #4544Pavelescu Razvan
ParticipantSo 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!
April 22, 2015 at 3:27 am in reply to: Trying to stop JS to add in-line CSS for the .orig class #4519Pavelescu Razvan
ParticipantHey,
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,
RazvanApril 19, 2015 at 2:13 am in reply to: Trying to stop JS to add in-line CSS for the .orig class #4505Pavelescu 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
-
This reply was modified 11 years, 1 month ago by
Pavelescu Razvan.
April 19, 2015 at 2:01 am in reply to: Trying to stop JS to add in-line CSS for the .orig class #4503Pavelescu Razvan
ParticipantOnce again, thanks for the reply
** I have updated the website address and login details
** Plugin location on the website: http://screencast.com/t/57PXghsvKzAI 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 enterlooking forward to hear an opinion,
Razvan-
This reply was modified 11 years, 1 month ago by
Pavelescu Razvan. Reason: added ftp + wp login details
-
This reply was modified 11 years, 1 month ago by
Pavelescu Razvan.
-
This reply was modified 11 years, 1 month ago by
Pavelescu Razvan.
April 16, 2015 at 2:02 pm in reply to: Trying to stop JS to add in-line CSS for the .orig class #4483Pavelescu Razvan
ParticipantThanks 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,
RazvanApril 8, 2015 at 1:09 am in reply to: Trying to stop JS to add in-line CSS for the .orig class #4449Pavelescu Razvan
ParticipantHello 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 -
This reply was modified 11 years, 1 month ago by
-
AuthorPosts