fcpagenav prevnext plugin

More
9 years 6 months ago - 9 years 6 months ago #50121 by mdma
hello,
i looked into upgrade/customizing fcpagenav.php comparable to some demos in:
tympanus.net/Development/ArrowNavigationStyles/

what i need please, is some php/mysql/ hint to generate fields of content (fe. image-field) of prev next item additionally to titel .

i see how id and titel is gathered from DB and how it is constructed.
but is it comparable for custom fields?

cheerz
Last edit: 9 years 6 months ago by mdma.

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

More
9 years 6 months ago #50122 by mdma

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

More
9 years 6 months ago #50124 by mdma
Replied by mdma on topic fcpagenav prevnext plugin
www.flexicontent.org/site-content/70-dev...-new-field-type.html

as described here..

but how do i get myfield into the dropdownlist of avaiable fields when i create a new field?

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

More
9 years 6 months ago #50152 by ggppdk
Replied by ggppdk on topic fcpagenav prevnext plugin
Hello


-- similar appearance for category view with a slider template is planned, with touch events good for mobile too and this will be combilned with infinite scroll ...



-- in your case you suggest an improvement for previous/next item navigation in item view

please note this:
the previous and next links are available so that you can customize your item.php with HTML to accomplish what you suggest

1. add field to "renderonly" position
2. inside item.php use:
Code:
$item->field['mypagenavfieldname']->nexttitle; $item->field['mypagenavfieldname']->nexturl; $item->field['mypagenavfieldname']->prevtitle; $item->field['mypagenavfieldname']->prevurl;


-- 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 6 months ago #50154 by ggppdk
Replied by ggppdk on topic fcpagenav prevnext plugin
Hello

(about links please read my previous post)

about image you can use these item objects:
(inside item.php)
Code:
$prev = $item->field['mypagenavfieldname']->prev; $next = $item->field['mypagenavfieldname']->next; $img_field_name = 'myimagefieldname'; echo FlexicontentFields::getFieldDisplay($prev , $img_field_name, $values=null, $method='display_small'); echo FlexicontentFields::getFieldDisplay($next, $img_field_name, $values=null, $method='display_small');


-- 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 6 months ago #50157 by mdma
Replied by mdma on topic fcpagenav prevnext plugin
a thousand thanks that is really great information!
will try everything out and if everything is fine mark post as SOLVED...

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

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