joomla custom field integration

More
3 years 6 months ago #79334 by tataye
I did it and it does not work
Precision : my code is in flexicontent template, not in joomla template, and not in a field

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

More
3 years 6 months ago #79335 by tataye
for example (and testing)
if i put in my flexi template code to display a module or a position, it does not trigger plugins and i just see the code.
to display it I have to put code in a field and insert in template

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

More
3 years 6 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
3 years 6 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
3 years 6 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
3 years 6 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.275 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