Category name inside custom html of a related field

2 years 11 months ago #57939 by agata
Hello,
What code snippet do I use inside the custom html of a related field? {item->categories} displays "Array"
Thanks,
Agata

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

2 years 11 months ago #57955 by ggppdk
Hello

to diplay the categories field,
{{categories}}

to display any field you can use:
{{fieldname}}
or
{{fieldname##displayvar}}


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

2 years 9 months ago - 2 years 9 months ago #59450 by lclaude
Hello,
what is the html code I can use to display a image of a custom filed ?

{{MyImageNameField}} or {{MyImageNameField##displayvar}} or {{MyImageNameField##_image_}} don't work for me.

FC version 3.0.8

Laurent

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

2 years 9 months ago #59451 by lclaude
Sorry for the noise, I find !

{{MyImageNameField##display_small}}

Laurent

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

2 years 9 months ago - 2 years 9 months ago #59461 by ggppdk
Hello

in future these will be displayed in layout editor and in other places

See this FAQ article for display variables of image field
www.flexicontent.org/documentation/faq/7...e-gallery-field.html


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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.