![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() Greetings!
I've since last time managed to solve all the multi-national network id's. Now i've gone for a reconstruction of the theme that my client has - in order to make it work better with Datafeedr's factory. I've through a few custom functions managed to retrieve all of my categories & merchants, and thus inserting them into my advanced-search formular. (see http://grillmekka.dk/store upper left corner - store ID: 32591) Yet - the request query doesn't seem to be able to handle an empty "c=" value. If the user doesn't select a category from the dropdown, it's supposed to search every category avaliable - but should i create a function that outputs every single category-id for the "empty" option value, or is there some other smart way of doing this? Been searching for a few hours now with no luck. ![]() That's it for me for now, hope you can help. ![]() |
#2
|
||||
|
||||
![]() Hi
The c value can't be empty. You can exclude it or you can set a default value but it can't be "c=blank". Eric
__________________
![]() ![]() ![]() ![]() |
#3
|
|||
|
|||
![]() Hey Eric, thanks for the quick reply.
My question now would then be: how do i exclude it from the query if a value has not been selected in the dropdown? I'm using a modified text module with the advanced search datafeedr tags on my front page. Would i have to write my own function to output the url for the form? and if so, how? Thanks. |
#4
|
||||
|
||||
![]() Hi
This I'm not sure about... If the form field is there, the name parameter gets sent in the form. Writing your own function might be the only solution. Eric
__________________
![]() ![]() ![]() ![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
No buttons, just text for "Buy" and "Details" | jackrock | Problems | 24 | November 22nd, 2011 06:32 PM |