[Fixed] Navigation field : reverse next and previous buttons

More
10 years 11 months ago #43100 by JessPere
Hi guys !
Just to report something strange with the navigation field.
As you can see on the screeshot, the text is different from the reel value (next or previous).


Actually Flexicontent v2.1.2_r1806

Have a nice day

Merci d'avance de me permettre d'avancer.
Attachments:

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

More
10 years 11 months ago #43107 by ggppdk
Hello

please explain what is different,

the color ? if so maybe on is visited and the other not-visited link


-- 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
10 years 11 months ago #43111 by JessPere
Excuse me for the lack of informations,
I put you in red the html code I found for the buttons.
On one hand you have "next article" with pagenav_prev code (give the next article), and on the other one "Previous article" with pagenav_next code(give the previous article).

Merci d'avance de me permettre d'avancer.

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

More
10 years 11 months ago #43114 by ggppdk
Hello

edit plugin file:
fcpagenav.php

and replace:
$prev_label = $field->parameters->get('prev_label', JText::_('FLEXI_FIELDS_PAGENAV_GOTONEXT'));
$next_label = $field->parameters->get('next_label', JText::_('FLEXI_FIELDS_PAGENAV_GOTOPREV'));

$prev_label = $field->parameters->get('prev_label', JText::_('FLEXI_FIELDS_PAGENAV_GOTOPREV'));
$next_label = $field->parameters->get('next_label', JText::_('FLEXI_FIELDS_PAGENAV_GOTONEXT'));


-- 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
10 years 11 months ago #43124 by JessPere
Ok,
I get it.
Thank you. But I have just notice something. A wrong logical choice of previous and next buttons links.
For exemple, the last article of my category display :
- a next article (?) button with the first article link
- and a 'noprevnext' for previous article button

The first article display previous (?) and next buttons that link to articles created after it.

Don't know if it reproduce on other websites.
Hope it would help

Merci d'avance de me permettre d'avancer.

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

More
10 years 11 months ago #43142 by ggppdk
Hello

about ordering:
we use ordering of the current category of current item URL (FLEXIcontent item URL include a category ID)

-- so it not the ordering of current category used ?
(// TODO: finish using category ORDERING, now we ignore: commented, rated)

-- also we want to improve this field so that current category filtering will be used instead of all items in current category


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