Accessing individual components (image) in checkboximage field

More
7 years 8 months ago #67153 by michal.rames@gmail.com
Hi,

I can render HTML of compound (checkboximage) field like so:

FlexicontentFields::getFields($item);
FlexicontentFields::getFieldDisplay($item, 'field21');

And then parse the rendered HTML to get the image out.

Is there a more straightforward way to access the image?

Thanks

Michal

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

More
7 years 8 months ago #67155 by ggppdk


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

More
7 years 8 months ago - 7 years 8 months ago #67168 by michal.rames@gmail.com
Hi,
Excellent, this is exactly what I was looking for, thank you! I should do a better job reading the FAQs...

However, it looks like it's more code than rendering HTML and then parsing out the image :)

/ michal
Last edit: 7 years 8 months ago by ggppdk.

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

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