Extracting image for category listings

More
10 years 10 months ago #43735 by gkhn
Hi there,

Is it possible to have a condition something like if the product image field is empty,extract the image for the caregory listing from the description field?

I really need this because I want the user to be able to choose different page types. Item type #1 has the product image field and the category listings are extracted from there.

Item type #2 has the description field available only so product image field is not available on this one.

Thank you.

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

More
10 years 10 months ago #43747 by ggppdk
Hello

this fallback behavior for
-extracting- image from description field if image field is empty,

is implemented in Universal Content Module, you mean suggest adding the above in:

- blog template ?
- or implement this behavior inside the image field ?

(currently the above is not available, only possible by adding custom code inside your category_items.php)


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