some help with search result on multiple viewers
3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 26, 2009 (RSS)
[font "Verdana"]Hello,
I'm just started to use CMS Builder for my client and so far everything working so great [:)]
I just need some help with search result on multiple viewers.
In our site we have a few sections (music, events...) and in each section we have the same field's name but with some different value in list field type such category (1, 2, 3) and sponsor (yes, no).
Our list page design in the same way for all the sections.
I use in one Viewer Options : 'where' => 'sponsor="yes"', and in the second Viewer Options : 'where' => 'sponsor="no"', (to show the different between the listing).
Now I want to insert a link from the menu directly to category and see only the business in the same category and still see the different between our sponsors.
I know that I can add 'where' => 'sponsor="no" and category="XXX"' inside the Viewer Options , But then I need to save each category on a different php page and we have a lot of category on the site.
I try to use this link: [url "http://www.mabrouk.co.il/newsite/Les-Endroits.php?Category=Salles"]http://www.mabrouk.co.il/newsite/Les-Endroits.php?Category=Salles[/#800080][/url]
but isn't working for me, it's still show all the category – do you know about any solution?
And one more question how can we program a one search form for all our site?
It's not professional to program a different search forms for each sections.
thank you,
Efi
I'm just started to use CMS Builder for my client and so far everything working so great [:)]
I just need some help with search result on multiple viewers.
In our site we have a few sections (music, events...) and in each section we have the same field's name but with some different value in list field type such category (1, 2, 3) and sponsor (yes, no).
Our list page design in the same way for all the sections.
I use in one Viewer Options : 'where' => 'sponsor="yes"', and in the second Viewer Options : 'where' => 'sponsor="no"', (to show the different between the listing).
Now I want to insert a link from the menu directly to category and see only the business in the same category and still see the different between our sponsors.
I know that I can add 'where' => 'sponsor="no" and category="XXX"' inside the Viewer Options , But then I need to save each category on a different php page and we have a lot of category on the site.
I try to use this link: [url "http://www.mabrouk.co.il/newsite/Les-Endroits.php?Category=Salles"]http://www.mabrouk.co.il/newsite/Les-Endroits.php?Category=Salles[/#800080][/url]
but isn't working for me, it's still show all the category – do you know about any solution?
And one more question how can we program a one search form for all our site?
It's not professional to program a different search forms for each sections.
thank you,
Efi
Re: [efi-revivo] some help with search result on multiple viewers
By Dave - January 26, 2009
Hi Efi, welcome to the CMS Builder forum! :)
The fieldnames are case sensitive. Try this:
http://www.mabrouk.co.il/newsite/Les-Endroits.php?category=Jardins
>And one more question how can we program a one search form for all our site?
Yes, we have an experimental function that does that. http://www.interactivetools.com/forum/gforum.cgi?post=61466#61466
Download multiSearch.php, give it a try and let me know if your have any questions.
Hope that helps!
The fieldnames are case sensitive. Try this:
http://www.mabrouk.co.il/newsite/Les-Endroits.php?category=Jardins
>And one more question how can we program a one search form for all our site?
Yes, we have an experimental function that does that. http://www.interactivetools.com/forum/gforum.cgi?post=61466#61466
Download multiSearch.php, give it a try and let me know if your have any questions.
Hope that helps!
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com
Re: [Dave] some help with search result on multiple viewers
Thanks dave it's work great.