fieldgroup + custom html + conditions

1 year 1 day ago #69588 by afberlin
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.

1 year 1 day ago #69589 by afberlin
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.

1 year 1 day 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 ?
$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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.