Not able to navigate to blog next pages when filtered

More
12 years 1 month ago #29718 by grabit
pm sent

An Apple a days keeps the doctor away

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

More
12 years 1 month ago #29723 by ggppdk
as i said in my previous post this was older template bug, i patched the template used by your category and one more template

The templates should contains this in file category_items.php:
Code:
<script type="text/javascript"> function adminFormPrepare(form) { var extra_action = ''; var var_sep = form.action.match(/\?/) ? '&' : '?'; for(i=0; i<form.elements.length; i++) { var element = form.elements[i]; // No need to add the default values for ordering, to the URL if (element.name=='filter_order' && element.value=='i.title') continue; if (element.name=='filter_order_Dir' && element.value=='ASC') continue; var matches = element.name.match(/(filter[.]*|letter|clayout)/); if (matches && element.value != '') { extra_action += var_sep + element.name + '=' + element.value; var_sep = '&'; } } form.action += extra_action; //alert(extra_action); } function adminFormClearFilters (form) { for(i=0; i<form.elements.length; i++) { var element = form.elements[i]; if (element.name=='filter_order') { element.value=='i.title'; continue; } if (element.name=='filter_order_Dir') { element.value=='ASC'; continue; } var matches = element.name.match(/(filter[.]*|letter)/); if (matches) { element.value = ''; } } } </script>

Since this common filter related JS code, maybe it should be moved to an external JS file, this way we would have avoid patching older templates


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