About nicer URLs using a filter_alias=filter_value, instead of filter_id=filter_value

More
9 years 2 weeks ago - 9 years 2 weeks ago #58178 by b2z
Hello!

Currently to filter items using URL works only if query is in format like ?filter_id={{field_name##}}

Is it possible to change filter_id to something more pretty, for example ?alias={{field_name##}}. I want to make URLs look more beautiful for users, because constructions like ?filter_1=value or ?filter_25=value looks a little bit ugly :pinch:
Last edit: 9 years 2 weeks ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
9 years 2 weeks ago - 9 years 2 weeks ago #58196 by ggppdk
Hello

yes you are right and this has be proposed by others before:

here is an issue:
milestone v3.0.10+ or later , but this will not be made default behaviour until v3.1


- the idea is to make URLs that include values of filters to user
&fieldname=filter_value

- also to allow easier implementantion and avoid troubles/conflicts, we should use
&_fieldname=filter_value

places to change:
- new component parameter to enable new behaviour
- modify fields helper file: filter HTML creation
- modify fields helper file: usage of submit filter values in (SQL) item list filtering
- modify JS file that selects variables to add to the URL (so that server/proxy*/browser* caching works properly)

(* new in v3.0.9)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 9 years 2 weeks ago by ggppdk.
The following user(s) said Thank You: b2z

Please Log in or Create an account to join the conversation.

More
9 years 2 weeks ago #58229 by b2z

Please Log in or Create an account to join the conversation.

More
9 years 1 week ago #58249 by micker
we need to check it with new router component of joomla

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.836 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline