Keyword

How to hide "K2 content module" in item view

  • Ben Huang
  • Ben Huang's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago - 10 years 10 months ago #114795 by Ben Huang
Good Day! Some one kindly help me with the following two urgent problems:

1. I have assigned the K2 content module to a specific K2 category, so I can see the brief list of items belong to this category, but If I click the list items to go to the item view page, I still can find this K2 content module follows the item view. I just need this K2 content module to display in category view, no need to show in item view, so how can I remove this K2 content module from item view?

here is my link:
Catergory view: www.engux.com/index.php/products/laptop-bag-sleeve
Item view: www.engux.com/index.php/products/laptop-bag-sleeve/item/19-laptop-sleeve-ex-bs01

2. As you can see from the K2 content list, the extra field part comes with several blank lines between the first extra field line and the second extra field line, how can I remove away this blank lines ?

Many thanks :)

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 10 months ago #114796 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: How to hide K2 content module out of item view
Hello Ben

For the first issue, please search the forum before posting.
The answer is posted here -> getk2.org/community/New-to-K2-Ask-here-first/178481-How-to-show-module-only-on-k2-item-page-only

As for the second part, use a CSS snippet like (edit the value in your k2.css line 800)
					
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Ben Huang
  • Ben Huang's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago - 10 years 10 months ago #114797 by Ben Huang
Dear Krikor, you compeletely solved my second question, thanks so much !

But for the first question, I have studied your answer link, and made the following snippet to my template's index.php at line 81 approx:
Log in  or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 10 months ago #114798 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: How to hide "K2 content module" in item view
					
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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