About hiding locked filters from the URL

More
8 years 9 months ago - 8 years 9 months ago #60123 by seabird
Hello,
In my view category , I use locked filters . In version 3.0 BETA6b , my category page are for exemple ... /page-475.php and now with version 3.0.12 the page is .../page-475.php?filter_16=evenement.
How to do to have the same url form in version 3.0.12 ( remove ?filter_16=evenement of url) ?

Edit:
If there isn't solution. I hide pages in category view and put this code in category template
Code:
<div class="pageslinks" > <?php echo str_replace('?filter_16=evenement', '', $this->pageNav->getPagesLinks());?> </div>

With this code, I have the same url with version 3.0 BETA6b

Thanks

Eric
Last edit: 8 years 9 months ago by ggppdk.

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

More
8 years 9 months ago #60125 by ggppdk
Hello

this will appear if the filter is also displayed
please check if it is displayed and hide it

(note that i say hide it , do not make it non-filterable, if you mark it non-filterable then it will no longer work as a locked filter


-- 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
8 years 9 months ago - 8 years 9 months ago #60127 by seabird
Hello,
Where hide filter ? I don't find it.
I try hide Display filters in Field Filters of configuration of category , but not work, ?filter_16=evenement is still there
Thanks
Eric
Last edit: 8 years 9 months ago by seabird.

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

More
8 years 9 months ago - 8 years 9 months ago #60210 by seabird
Hello,
In fact, I do not know if it's possible. Here is the problem.
On my page that uses a locked filter, I use other visible filters .
So if in configuration of category , I put Field Filters => Display filters => No , my visible filters will be masked. It's not good.

So to solve my problem. I hide pages in category view and put this code in category template.
Code:
<div class="pageslinks" > <?php echo str_replace('?filter_16=evenement', '', $this->pageNav->getPagesLinks());?> </div>
Now , it's OK.
Is there another solution ?

Thanks,

Eric
Last edit: 8 years 9 months ago by seabird.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.685 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