field color

1 year 1 month ago #79601 by tataye
field color was created by tataye
hello : what is the color field done for ?
To select a color and use it in css ? if yes how to do this ?

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

1 year 1 month ago #79605 by ggppdk
Replied by ggppdk on topic field color
Hello

inside the PHP code of your template simple do:
$field_id = 42;
print_r($item->fieldvalues[$field_id]);

and you will get the values of the field

See more here :
Using the raw value of a field inside a template file or inside the viewing layout of another field


-- 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.
Save
Cookies user prefences
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