Wrong subcategory image in category-view

More
12 years 1 month ago #36836 by mcmurdok
Hello,
if I set up a category-view with subcategories and subcategory images, all subcategories get the image of their parent category (the selected category of this category-view).
In the params object of the subcategory is the right path to the image but under $sub->image and $sub->image_src I get only the picture of the parent category.

Regards

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

More
12 years 1 month ago #36841 by ggppdk
Hello,
version that you have? v2.0.2?

Do you have an older custom template?
i mean: did you temporarily test with a built-in template?


-- 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
12 years 1 month ago #36846 by mcmurdok
Hello,
I'm using J2.5.11 and FC 2.0.2 r1680. I tested it with all built-in templates and it's always the same problem.

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

More
12 years 1 month ago #36862 by ggppdk
Hello,
thanks for report

to apply a fix now:
edit file
components/com_flexicontent/views/category/view.html.php
find line (about 539):
Code:
$subcat->image = FLEXI_J16GE ? $params->get('image') : $subcat->image;
and change to:
Code:
$subcat->image = FLEXI_J16GE ? $subcat->params->get('image') : $subcat->image;


-- 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
12 years 1 month ago #36869 by mcmurdok
Thank you,
this seems to work

Regards

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

More
12 years 1 month ago #36874 by micker
can you update your post to solved ?

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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.337 seconds
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
Save