Searching system
This topic contains 18 replies, has 3 voices, and was last updated by Stiofan O’Connor 8 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
August 8, 2016 at 12:10 pm #243042
Hi, actually i have two type of add that an be chosen by my website’s user:
– franchise
– entrepriseOn the home page, i have put your search system with some fields that may be customized by the user…but it is only for the “entreprise” add. How can i do to only have 1 search system that works for both franchise and entreprise type?
Is it possible to add a fiels with a select option so the user can first choose between enteprise and franchise…and then…depending on what kind of add he chose, it shows different fields to extend the search.for exemple:
first field: – entreprises ; – franchises
Then if you select entreprises, those fields appear: – canton, – collaborateurs, – CA moyen 3 ans, – Prix de vente
But if you select franchise, those fields appear: – canton, – inclus, – droit d’entrée, – redevance
Can you help please?
August 8, 2016 at 12:54 pm #243068That is how it should works if you create 2 custom post types: one for entreprise and one for franchise.
Look here: https://wpgeo.directory/
And choose from the first drop down.August 8, 2016 at 12:58 pm #243072thanks guust. This is already what i have done: 2 type of add. But when i select the search widget it only shows the search fields related to the “entreprise” type and not for both type.
August 8, 2016 at 1:02 pm #243074Then I guess you do not have any listings in franchise yet. Add at least one listing in one category in franchise, and it should activate.
If that is not the issue, post URL and admin details so we can investigate.August 8, 2016 at 1:10 pm #243075This reply has been marked as private.August 8, 2016 at 1:22 pm #243079You have some custom CSS that is hiding it:
.geodir-search {display: none;}
August 30, 2016 at 2:25 pm #256097i don’t find it ?
Have you deleted it? Cause if so, there is still a problem cause nothing appears for the franchise on the main search bar that is on the top of every page.August 30, 2016 at 10:17 pm #256465I cannot find where to fix it, but it is in this file:
your site/?custom-css=1I have overridden it at GD > design > scripts
.geodir-search {display: initial !important;}
October 4, 2016 at 6:33 pm #277437Hi, i do have an other question on the search system.
For my adds i ve asked you a few weeks ago ho to custom the sell price by adding a number separator, so that my numbers will no longer appear like “CHF 3546789 but like “CHF 3‘456‘789.
It works perfectly but i d like to do the same for the select option called “Prix de vente (CHF)” in the search system. I have tried several coding things but nothing works.
Can u help?thanks
October 4, 2016 at 10:00 pm #277550I have alerted Stiofan to your question.
This was the previous topic: https://wpgeodirectory.com/support/topic/few-issues/October 5, 2016 at 7:48 am #277823Thanks!
October 5, 2016 at 10:59 am #277865Hello,
TO convert another field numbers you just have to add 1 new line below the other code
add_filter('geodir_show_geodir_FIELD_HTML_VAR', 'gd_convert_my_numbers',10,2);
Replace FIELD_HTML_VAR with the custom field html var.
Thanks,
Stiofan
October 5, 2016 at 11:27 am #277904Thanks Stiofan,
but that is not exactly what i was looking for.
The coding you gave me the first time in the other topic worls perfectly and i have applied it to other field in my website.But my problem is for this specific search system…cause i don’t find the right field. I have the code…yes…but cannot find the right label to add into that corresponds to the search system. i have tried some but none of them work.
October 5, 2016 at 11:39 am #277911OK i am not exactly sure what you mean, can you try to explain it a bit better please?
Stiofan
October 5, 2016 at 11:50 am #277914add_filter(‘geodir_show_geodir_FIELD_HTML_VAR‘, ‘gd_convert_my_numbers’,10,2);
I cannot find the right FIELD_HTML_VAR that i need to put in the code to change the look of the number in my advanced search.
The problem that i have is not the code line…is what to put inside…cause i don t find the FIELD_HTML_VAR that is related to the numbers that appear in my advanced search selection.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket