Pagination with SH404SEF not working

More
6 years 10 months ago #71340 by francisvds
Replied by francisvds on topic Pagination not working
Hello

I installed the latest development version and the problem is still present.

Francis

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

More
6 years 10 months ago #71348 by ggppdk
Replied by ggppdk on topic Pagination not working
Hello

i meant that we need the latest version of SH404SEF

we got it , will find time to test with it,
if i will need access to the website, then i will ask you


-- 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
6 years 10 months ago #71351 by francisvds
Replied by francisvds on topic Pagination not working
Hello

Thank you in advance for your help.
Cordially.
Francis

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

More
6 years 10 months ago #71353 by francisvds
Replied by francisvds on topic Pagination not working
Hello
Here is the answer from sh404SEF, I made the change and everything is back to normal.

Thanks for your help.
Cordially.
Francis

I have done as I said, downloaded a copy of the site and debugged locally. As expected, this is a problem in FlexiContent, which comes from assuming the Joomla SEF pagination format ie /xxxx?start=20 or /xxxx?start=40.
They cannot handle something like /xxxxx/page-2.

The bug was hidden by older versions of sh404SEF, as we had made a workaround for those extensions. In last version, we remove the workaround as we thought all extensions should have been fixed by now, but apparently even large extensions such as Flexi have not yet started to use the correct Joomla API.

Here are the details:

In the file /components/com_flexicontent/controller.php, at line 1151, there is this code:

// Add any existing URL variables (=submitted via GET), ... we only need variable names, (values are ignored)
foreach($_GET as $_varname => $_ignore) $safeurlparams[$_varname] = 'STRING';



A short-term fix can be:

// Add any existing URL variables (=submitted via GET), ... we only need variable names, (values are ignored)
// foreach($_GET as $_varname => $_ignore) $safeurlparams[$_varname] = 'STRING';
$getVars = $this->input->getArray();
foreach($getVars as $_varname => $_ignore) $safeurlparams[$_varname] = 'STRING';



After making that change, and purging again the Joomla cache, things starts working again normally.

I would suggest you report this to the FlexiContent team and suggest this change, or maybe they can workout something else as needed.

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

More
6 years 9 months ago #71475 by ggppdk
Replied by ggppdk on topic Pagination not working
Hello

github.com/FLEXIcontent/flexicontent-cck...735569a6bb57dd6ff77b

Fixed 2 issues with SH404SEF
- (current issue) pages not changing when caching is enabled
- and also fixed frontend per-page (limit) selector being ignored

Fix included in v3.2.1.10

This URL for the install via URL
github.com/FLEXIcontent/flexicontent-cck/archive/v3.2.1.10.zip

will publish this new release soon


-- 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
6 years 9 months ago #71479 by francisvds
Replied by francisvds on topic Pagination not working
Hello ggppdk

Thanks for the work, it works perfectly.

Have a good day.
Cordially.
Francis

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

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