Remove pagination from url in navigation field?

More
6 years 11 months ago #67085 by lipatovroman
Hi!

In navigation field button "Back to category" have pagination suffix in url:

category/subcategory?start=0

How to disable ?start=0 in urls for this links?

Thanks.

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

More
6 years 11 months ago #67097 by micker
maybe you can use htacess rules or sef component like sh404sef

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
6 years 11 months ago #67104 by lipatovroman

micker wrote: maybe you can use htacess rules or sef component like sh404sef


Hmmm...
It's too cumbersome to use a sh404sef component just for the sake of fixing urls in navigation field...
I will try to fixing code in FC...

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

More
6 years 11 months ago - 6 years 11 months ago #67133 by ggppdk
Hello

i am not sure if it should be removed

to remove it when zero it is easy

replace: (in the plugins/flexicontent_fields/fcpagenav/fcpagenav/tmpl/value_default.php)
Code:
.'?start='.$start

with
Code:
.($start ? '?start='.$start : '')

Then test if everything continues to work, and i will add this change for next release


-- 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...
Last edit: 6 years 11 months ago by ggppdk.

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

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