Add field class to field grouping

More
7 years 2 months ago - 7 years 2 months ago #66068 by marc.light
Hi,

When fields are grouped, there's not much options for styling. There's a div for each field:

<div class="fc-field-box">

Could it be possible to add the field class:

<div class="fc-field-box field_date">

Maybe it's already possible and I'm missing something.

Thanks.
Last edit: 7 years 2 months ago by ggppdk.

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

More
7 years 2 months ago #66069 by micker
you can do it if you actived custom template

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.

More
7 years 2 months ago - 7 years 2 months ago #66070 by marc.light
That's what I'm using.:
Code:
<?php echo $item->fields["dates_grouping"]->display; ?>

And it displays as I mentionned before. I don't know what else I could do.

Thanks for your help.
Last edit: 7 years 2 months ago by ggppdk.

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

More
7 years 2 months ago - 7 years 2 months ago #66072 by micker
There is a parameter in group-field configuration called:
Use customized HTML

That allows to create a custom display of the group field, regarding its usage, read popup description of the parameter

you can include fields and also add you custom HTML to it too
{{my_fieldname_a}}
{{my_fieldname_b##displayvar}}

e.g.
Code:
<div class="myclass"> {{my_checkbox}} </div> <hr/> {{my_gallery_field##small}}

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]
Last edit: 7 years 2 months ago by ggppdk.

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

More
7 years 2 months ago #66073 by marc.light
Got it, thanks!

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

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