A Wish: Core extension for wildcard (as in blank = match any) url parameters
This is an open discussion with no replies, filed under Extensions.
Search
Create an account or sign in to comment.
This is an open discussion with no replies, filed under Extensions.
Create an account or sign in to comment.
Quick Links
Symphony • Open Source XSLT CMS
--with-xsl
)
Hi, extension gurus!
After long tinkering with various approaches, DS alterations, and so forth, I finally decided to try to throw this "idea" in to the public.
I believe, that many of you have experienced situations where multiple filters must be passed via url, but some of them are optional (and afterwards enumerated in DS filtering options).
So the basic idea for extension is to predefine a global term, which, when used as a value in an URL, will be treated as a blank/unset value in DS filtering part, but all following variables (slashes) won't loose their meaning.
Use case examples:
Extension kicks in with predefined wildcard value (any):
In DS "any" is treated as a set, but unset variable and is given a fallback value:
I hope this makes sense.
I know, that there is an ugly GET-a-way, but it is, well..., ugly :)
k.