joomla custom field integration

More
4 years 2 months ago #79336 by micker
Test in custom template or flexicontent base ?
Post your code here
Its works for sure

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
4 years 2 months ago #79338 by tataye
my code is outside the flexi fields ... that is why it does not trigger the plugins

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

More
4 years 2 months ago #79339 by micker
Please put your code please

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
4 years 2 months ago #79341 by ggppdk
Hello

inside Flexicontent templates , $item is the article
use:

Code:
$item->jcfields = isset($item->jcfields) ? $item->jcfields : FieldsHelper::getFields('com_content.article', $item, true); foreach($item->jcfields as $jc_field) { $jc_fields[$jc_field->id] = $jc_field; } // Joomla field ID $jcid = 7; echo 'Raw Value is <br>'; print_r($jc_fields[$jcid]->rawvalue); echo '<br><br>'; echo 'Display HTML is<br>'; print_r($jc_fields[$jcid]->value); exit;


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