Filter in url

More
11 years 5 months ago #44368 by tevez15
Filter in url was created by tevez15
Hello

I have two questions:

First - In my URL I have this "filter_29[]=2" and I want something like "Country=Portugal". Is possible?

Second - Is possible hide that query string from url?

One more: I'm using a module flexi, call the article on category, with the option (tab) "Current category / Selected...", and that category use a filter by country.

When a filter for portugal, in category, just show the item from portugal, but the module show all, is possible use the same filter in the module?

Thanks

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

More
11 years 5 months ago #44375 by jrodgar
Replied by jrodgar on topic Filter in url
I guess that if your country table use the name as id, you´ll have "filter_29[]=Portugal"

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 4 months ago #44410 by ggppdk
Replied by ggppdk on topic Filter in url
Hello

tevez15 wrote: First - In my URL I have this "filter_29[]=2" and I want something like "Country=Portugal". Is possible?

Ignacio had requested that before,
not supported now,
of course it is possible to implement but it has some implications !

e.g. what if someone has created a filter with name: "view" or with name "option" ?
so it can never be "country",
maybe fc_country=portugal ?
is a good tradeoff or maybe:
__country=portugal ?

tevez15 wrote: Second - Is possible hide that query string from url?

Possible ? it was like that before and it creates 2 problems:
Problem 1: Link cannot be bookmarked / linked, thus it cannot be indexed by Google either
Problem 2: Full page caching is not possible

so hiding this is not best alternative , that is why most web applications try to have these in URL

-- but we tried to hide some other variables:
(we do not use GET to submit the form)
thus: view=category, option=com_flexicontent, etct are not added to the URL, instead we use POST methid and manually (via JS) add the important variable into the URL

BUT i understand that using
country=portugal
is better than
filter55[]=portugal






tevez15 wrote: One more: I'm using a module flexi, call the article on category, with the option (tab) "Current category / Selected...", and that category use a filter by country.

When a filter for portugal, in category, just show the item from portugal, but the module show all, is possible use the same filter in the module?

Thanks

Module? which module, you mean a universal content module ?


-- 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...

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

More
11 years 4 months ago #44894 by tevez15
Replied by tevez15 on topic Filter in url
Yes, universal module content

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

More
11 years 4 months ago #44905 by ggppdk
Replied by ggppdk on topic Filter in url
Hello

FLEXIcontent module has a custom field SCOPE (last scope in scope's list) that you can use to enter a fixed filter value

see popup description of it

enter like
field_id##value1
or
field_id##value1-value2
or
field_id##value1+++value2+++value3


-- 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.876 seconds
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
Save