fieldgroup + custom html + conditions

More
7 years 2 months ago #69588 by weCombine
dear flexicontent team.

i discovered today the fieldgroup function and it s amazing!
the only issue i have: i would like to be more flexible for displaying the values.
when i use the custom html, i can only display the values but not put any condition in (if else ... )
is there a way in the template to get all field-values?

many thanks,
bart

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

More
7 years 2 months ago #69589 by weCombine
ok, i think i found the solution.

i thought a field could be assigned different fieldgroups in 1 type-element, that would have saved me some extra fields.
but, a field can be only shown once in an article, so of course i can get access in the item.php

cheers

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

More
7 years 2 months ago #69590 by ggppdk
Hello

yes, a field should be assigned to only 1 fieldgroup field !

are you using this to get access of fields in
item.php layout file ?
Code:
$item->fields['fieldname1'] $item->fields['fieldname2']


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