Problem with pagination URLs and anchors

More
9 years 8 months ago #52551 by agata
Hi,
I have a news page where I'm loading the list of news twice, once on top (titles and dates only) where the titles link/skip to anchors in the corresponding news below with full text.

sandbox-2041.wilddog.co.uk/news

And it works perfectly... on the first page. On the second page, the #item_0 instead of being added to the end of the URL, replaces the ?start=4 and redirects to the first page. Example:

On the page with the URL sandbox-2041.wilddog.co.uk/news?start=4 I click on an anchor leading to #item_0 and instead of being taken to sandbox-2041.wilddog.co.uk/news?start=4#item_0 I am taken to sandbox-2041.wilddog.co.uk/news#item_0

It looks to me like some weird behaviour of the browser so the only solution I see is to use a dynamic php snippet that would put the absolute URL of the current page (that is, for example, sandbox-2041.wilddog.co.uk/news?start=4 ) before the anchor. Any idea what that would look like? Perhaps there's a different, simpler solution?
Thanks,
Agata

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

More
9 years 8 months ago #52559 by ggppdk
Hello

this is not FLEXIcontent fault something is tampering with the variable start/limitstart variable

we have a workaround in v3 BETA1

test (on test website) with this:
github.com/FLEXIcontent/flexico ... .0.0_Beta1


-- 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
9 years 8 months ago #52565 by agata
Yes, I know it's not flexi's fault. And it's not the template either because I reverted back to protostar and the behaviour was the same.

When do you think this fix will be included in a stable (or at least RC) release?

Thanks as ever,
A

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

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