Now member select some check boxes that are right for there link and i would like to show them on link detail page what link variable must i put there to show only the check values.
According to scripts.webmastersite.net/w...adding-a-new-field-98.html , "If you're dealing with a checkbox or single selector and want to test if a value is selected, you can use {LINKCHECKED[fieldname]} (or {CAT, {MEMBER etc) in your template conditional. If dealing with a multi-value checkbox or selector, you can use {LINKCHECKED[fieldname <,> value]} to test for each value."
I have a problem Paul I would like to use filters to filter the resaults of the custom multi-value checkbox i have made these and they dont work can you tell me where is the problem?
<IF {LINKCHECKED[category <,> Other]}>Other</IF> <IF {LINKCHECKED[category <,> Online store/shop]}>Online store/shop</IF> This works great ----------------------------------
I tried this to filter by link but its not working <a href="{LINKFILTERLINK[category <,> Other]}">Other</a> i get this link in broswer http://..../index.php?action=displaycat&catid=1&linkfilteraction=add&filter=category&filtervalue=%7C%7C%7CCars%7C%7C%7CCSS%7C%7C%7CWeb+design%7C%7C%7COther
I also tryed by form its not working <form action="index.php?action=displaycat&catid={CATID}&filter=category&linkfilteraction=add" method="post"> <select name="filtervalue"> <option value="Other">Other</option> </select> <input type="submit"> </form>
To filter to any text that contains a term, use filtertype=contains. To filter to any text that is not equal to the specified text, use filtertype=not.
When you don't specify a filter type, it does greater than.
You have to construct the link manually, not using {LINKFILTERLINK}.
Actually I don't see any {LINKFILTERLINK} in the docs anywhere. There's a {LINKFILTER} but it only has one parameter, so I don't where you got the idea of {LINKFILTERLINK[category <,> Other]} from.
Actually I don't see any {LINKFILTERLINK} in the docs anywhere. There's a {LINKFILTER} but it only has one parameter, so I don't where you got the idea of {LINKFILTERLINK[category <,> Other]} from.
----> this is in filters manual
You can customize the HTML in whatever way you like by using <a href="{LINKFILTERLINK[fieldname]}"><img src="{LINKFILTERIMAGE[fieldname]}" border="0"></a> instead of {LINKFILTER[fielname]}.
You can customize the HTML in whatever way you like by using <a href="{LINKFILTERLINK[fieldname]}"><img src="{LINKFILTERIMAGE[fieldname]}" border="0"></a> instead of {LINKFILTER[fielname]}.
I see. Added second parameter there. It's described in advance in the KB:
Note that you can make numeric filters filter to <= instead of >= by using a filtertype=less parameter in a url. To filter between two numeric values, use filtertype=between and supply the filter value hyphen separated, like 100-200. To filter to any text that contains a term, use filtertype=contains. To filter to any text that is not equal to the specified text, use filtertype=not. You can pass the filter type as the second parameter to {LINKFILTERLINK}, like {LINKFILTERLINK[descripton <,> contains]}. It can also be passed to {FILTERLINK} as the third parameter, like {FILTERLINK[1 <,> description <,> contains]}.
Comments on MultiCheck boxes
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
Can someone help?
I have created Multicheckboxes for link
Now member select some check boxes that are right for there link and i would like to show them on link detail page what link variable must i put there to show only the check values.
Like this
Template Category: Architecture, Books, Business
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
According to scripts.webmastersite.net/w...adding-a-new-field-98.html , "If you're dealing with a checkbox or single selector and want to test if a value is selected, you can use {LINKCHECKED[fieldname]} (or {CAT, {MEMBER etc) in your template conditional. If dealing with a multi-value checkbox or selector, you can use {LINKCHECKED[fieldname <,> value]} to test for each value."
<IF {LINKCHECKED[linkcat <,> Architecture]}>Architecture</IF> etc
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
I have a problem Paul
I would like to use filters to filter the resaults of the custom multi-value checkbox i have made these and they dont work can you tell me where is the problem?
<IF {LINKCHECKED[category <,> Other]}>Other</IF>
<IF {LINKCHECKED[category <,> Online store/shop]}>Online store/shop</IF>
This works great
----------------------------------
I tried this to filter by link but its not working
<a href="{LINKFILTERLINK[category <,> Other]}">Other</a>
i get this link in broswer
http://..../index.php?action=displaycat&catid=1&linkfilteraction=add&filter=category&filtervalue=%7C%7C%7CCars%7C%7C%7CCSS%7C%7C%7CWeb+design%7C%7C%7COther
I also tryed by form its not working
<form action="index.php?action=displaycat&catid={CATID}&filter=category&linkfilteraction=add" method="post">
<select name="filtervalue">
<option value="Other">Other</option>
</select>
<input type="submit">
</form>
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
scripts.webmastersite.net/w.../articles/filters-201.html
When you don't specify a filter type, it does greater than.
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
Ok in the form it works great when i add filtertype=contains
But where do i put filtertype=contains in this so i can make it as a link?
<a href="{LINKFILTERLINK[category <,> Other]}">Other</a>
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You have to construct the link manually, not using {LINKFILTERLINK}.
Actually I don't see any {LINKFILTERLINK} in the docs anywhere. There's a {LINKFILTER} but it only has one parameter, so I don't where you got the idea of {LINKFILTERLINK[category <,> Other]} from.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Changing now to add a second parameter to {LINKFILTER}.
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
Actually I don't see any {LINKFILTERLINK} in the docs anywhere. There's a {LINKFILTER} but it only has one parameter, so I don't where you got the idea of {LINKFILTERLINK[category <,> Other]} from.
----> this is in filters manual
You can customize the HTML in whatever way you like by using <a href="{LINKFILTERLINK[fieldname]}"><img src="{LINKFILTERIMAGE[fieldname]}" border="0"></a> instead of {LINKFILTER[fielname]}.
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
Changing now to add a second parameter to {LINKFILTER}.
What will be the second parametar? filtertype=contains?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
----> this is in filters manual
You can customize the HTML in whatever way you like by using <a href="{LINKFILTERLINK[fieldname]}"><img src="{LINKFILTERIMAGE[fieldname]}" border="0"></a> instead of {LINKFILTER[fielname]}.
I see. Added second parameter there. It's described in advance in the KB:
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
I beliewe that pagination is not working when using filters can you check that i think there is a error
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Confirmed. There seem to be wider filter issues as well. Fixing.