Wrong subcategory image in category-view

More
11 years 11 months ago #38265 by brandonking
I can't display sub-category's image.
I have created Category menu item and selected one parent category.
Override Configuration : No, use defaults

I only want to display sub-categories with its image saved in param.

There are all sub-category's names but without their images.

In category_subcategories.php, $sub->image is empty.
How can I check whether each variable has value in view.html.php?
Like, print or echo are not working...

FC version: r1693

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

More
11 years 11 months ago #38283 by ggppdk
Hello,

i am not sure that i understand you
you speak of file:
.../tmpl_common/category_subcategories.php
right ?

-- you have assigned an image and enable the showing of subcategory image in category configuration,
but the image is not shown ?
(please note the setting for sub-category images are different than setting for category image, they are further down the in the parameter list)


-- 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
11 years 11 months ago #38291 by brandonking
Exactly, I am talking about /tmpl_common/category_subcategories.php
I think category_subcategories.php has no problem.

-- you have assigned an image and enable the showing of subcategory image in category configuration,
but the image is not shown ?
(please note the setting for sub-category images are different than setting for category image, they are further down the in the parameter list)

Yes, I know and I have tried so many times by giving different value. but I've never got Images displayed.

Image folder permission set to 755.
Tested with Categories menu item, no images displayed either.

There is a problem in views/category/view.html.php.
Coz $sub->image is always empty.

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

More
11 years 11 months ago #38292 by ggppdk
Hello,

tested with both subcategory image in parameter and with subcategory image in image description

maybe you have set the "image source parameter" wrongly

e.g. publish the category "Test CAT A" in "About" category to see that it is working


-- 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
11 years 11 months ago #38293 by brandonking
Yes, it is working..About category is set Blog template.
I am trying on custom template..so I guess there was some update.
Which revision should I look in SVN?

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

More
11 years 11 months ago #38294 by brandonking
Can you have a look at menu item? (id:119)

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

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