Trigger custom field in description

More
3 years 8 months ago - 3 years 8 months ago #79031 by ggppdk
Hello


the way to do custom display is not to modify the replacements plugin

custom display and getting such individual data is not the purpose of the plugin

- you can create an display that matches your exact needs
by creating a custom layout for the image-gallery field or any other field

(the above is done by duplicating an existing layout , see instructions on the view layout parameter description in field configuration, and then coding) what you need

also you can use the following inside the
item.php
of your FC template
Code:
Thumbnail URLs of all images (gallery mode) (all thumbnail sizes) $item->fields['imgfieldname']->thumbs_src['backend'][0] $item->fields['imgfieldname']->thumbs_src['small'][0] $item->fields['imgfieldname']->thumbs_src['medium'][0] $item->fields['imgfieldname']->thumbs_src['large'][0] $item->fields['imgfieldname']->thumbs_src['original'][0]

These are arrays
Code:
$item->fields['imgfieldname']->thumbs_src['backend'] $item->fields['imgfieldname']->thumbs_src['small'] $item->fields['imgfieldname']->thumbs_src['medium'] $item->fields['imgfieldname']->thumbs_src['large'] $item->fields['imgfieldname']->thumbs_src['original'][

if you do not know PHP and if you do not really need such custom display, i suggest to avoid doing such customizations


-- 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: 3 years 8 months ago by ggppdk.

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

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