EllisLab text mark
Advanced Search
     
EE 2.4 exp:channel:categories show paramater is failing with category_image
Posted: 19 April 2012 05:39 PM   [ Ignore ]
Avatar
Joined: 2003-01-07
693 posts
{exp:channel:categories channel='in-store' show='25' style='linear'}
 {category_image}
{
/exp:channel:categories} 

If I remove the show paramater, then I get the image to display correctly. But, I always get the same one, and I really need the show paramater to allow me to target what category image displays for this site.

I should add that this is a file field type and is assigned to a specific uploads folder. Everything works great until I add the show paramater then the category image path vanishes from sight.

This a bug maybe?

 Signature 

learn more at eeSiteKit.com


NetRaising | a web services company


Custom Designed Dynamic Websites for Mission Driven Organizations

 
Posted: 20 April 2012 03:34 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hi Kurt,

I am sorry to hear you are running into this problem.

I am unable to recreate this.

Using your code, but swapping the category out for mine works great for me.

{exp:channel:categories channel='blog' show="7"  style='linear'}
 {category_image}
{
/exp:channel:categories} 

My destination is a common one and is attached to a file field as well.

What if you try another category ID? Maybe there is something with that particular category. Are you sure there is an image assigned to that category?

Please let me know.

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 20 April 2012 04:27 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2003-01-07
693 posts

Hi Shane,

Could you please test to see if the image for category ‘7’ will show on another C# (another category ID) page?

I’m wondering if the tag is working because it’s dynamic=‘yes’ for you.

I need it to work on a page where it will be at odds with the URI.

Thanks.

 Signature 

learn more at eeSiteKit.com


NetRaising | a web services company


Custom Designed Dynamic Websites for Mission Driven Organizations

 
Posted: 23 April 2012 01:43 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hello Kurt,

Same result for me. Are you getting a different result?

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 04 May 2012 05:26 AM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2003-01-07
693 posts

More testing on this.

show=“not 25” works perfect but

show=“25” doesn’t

show=“25|26|27” also fails.

Ah…. OK, it is a bug!

First level Categories work fine, but children (categories with parents) fail!

So it was working for you because your category was an orphan.

Bug Report: https://support.ellislab.com/bugs/detail/17853

 Signature 

learn more at eeSiteKit.com


NetRaising | a web services company


Custom Designed Dynamic Websites for Mission Driven Organizations

 
Posted: 07 May 2012 01:39 PM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hello Kurt,

Sounds good. Thanks for filing the bug.

If you need anything else, please just let me know by opening a new thread.

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade