fcpagenav prevnext plugin

3 years 11 months ago - 3 years 11 months ago #50121 by mdma
hello,
i looked into upgrade/customizing fcpagenav.php comparable to some demos in:
http://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

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

3 years 11 months ago #50122 by mdma

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

3 years 11 months ago #50124 by mdma
Replied by mdma on topic fcpagenav prevnext plugin
http://www.flexicontent.org/site-content/70-developer-api-field-plugins/245-how-to-duplicate-a-flexicontent-field-to-create-a-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.

3 years 11 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:
$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 review. Thanks!

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

3 years 11 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)
$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 review. Thanks!

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

3 years 11 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.

3 years 11 months ago #50176 by micker
Replied by micker on topic fcpagenav prevnext plugin
think to vote for fleicontent in jed with 5 stars and message about georgios support ;)

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.

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.