Keyword

Bug in K2 Parameter for Item Image Radio Option?

  • Goh Yew Hoe
  • Goh Yew Hoe's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 1 month ago #102895 by Goh Yew Hoe
Here's what I did but I'm not sure if this is a problem with my site or K2.

1) Go to K2 Parameters
2) Select layout & view tabs
3) Scroll down to "Layout & view options for user (author) pages"
4) Set "Item Image" to hide

Now I go to any tag listing(click on any tag), I see that the images no longer display for all articles. I set "Item Image" back to Show and now the images return.

I thought it was weird, so I scroll down to "Layout & view options for tag listings" then set "Item Image" to hide. I go back to the tag listing and as I expected, I still see the images there. Thus I believe the two radio options somehow swapped place? I almost wanted to reinstall cause I can't for my life figure out why the images are missing in tag listing.

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

More
12 years 4 weeks ago #102896 by Lefteris
Hi. Please ensure that you are using the latest version of K2. Then check your layout files. Those two radio buttons are different. The user.php layout is looking for the "userItemImage" variable while the tag.php is looking for the "tagItemImage" variable. Your overrides should also work like that.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Goh Yew Hoe
  • Goh Yew Hoe's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 1 week ago - 12 years 1 week ago #102897 by Goh Yew Hoe
Hi Lefteris,

It seems the K2 file provided in my template package was using "userItemImage" in tag.php thus the problem =(

I'll report it to the template club, thanks for pointing out the problem =)

Best Regards

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

More
12 years 1 week ago #102898 by Lefteris
You are welcome.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum