flexicontent field value in joomla plugin?

5 years 5 months ago #36332 by pabro
Hi,

(how) its possible to get a value of flexicontent field (text field for example) in a content plugin (onContentPrepare ...) for joomla?

joomla 2.5
flexicontent 2.0

Thanks!

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

5 years 5 months ago #36340 by ggppdk
Yes,
but do you mean for developing Content Plugin, or for triggering a content plugin inside the FC template?

For authoring a content Plugin:
1. you can retrieve the field value inside custom code:
http://www.flexicontent.org/documentation/faq/79-forms-and-submission/244-retrieving-item-data-eg-for-use-in-rsforms.html

For developing /intergrating into template code
2. You can trigger content plugin that contain various FLEXIcontent fields:
http://www.flexicontent.org/documentation/faq/71-fields-usages-tips-joomla-plugin-/278-triggering-contents-plugins-to-create-a-customized-layout-of-your-fields-to-eg-sliders-or-tabs-render-a-google-maps-plugin-etc.html

3. you can use the prefix/suffix etc parameters of fields to combine fields together and trigger a plugin


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

5 years 5 months ago #36367 by pabro
Thank you for your reply.

I have needed for developing a content plugin.

I have found also
http://www.flexicontent.org/documentation/faq/item/247-retrieving-the-html-display-of-fc-fields-inside-3rd-party-code.html

for what reason I should use method "Retrieving item data e.g. for use in RSforms" or instead method "Retrieving the HTML DISPLAY of FC fields inside 3rd-party code"?

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.