Keyword

modul position shouldnt appear in tag urls

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 9 months ago #165974 by Franz Heine
modul position shouldnt appear in tag urls was created by Franz Heine
in the category view i display a custom module in the position "innerbottom"

i used the following code to exclude the module from the item view. The module just appears in the category view.

"<?php if ($this->count('innerbottom') && JRequest::getCmd( 'option' )==com_k2 && JRequest::getCmd( 'view' )==itemlist) : ?>

Is it possible to exclude the module from the itemlist/tag view too?

If yes, how do ive to modify my code.

thx

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 9 months ago #165983 by Krikor Boghossian
Replied by Krikor Boghossian on topic modul position shouldnt appear in tag urls
Hello,

You also need the specific task (JRequest::getCmd( 'task' )) which is category.

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

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

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 9 months ago #165993 by Franz Heine
Replied by Franz Heine on topic modul position shouldnt appear in tag urls
Thank you Krikor,

works like a charm!

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 9 months ago #166000 by Krikor Boghossian
Replied by Krikor Boghossian on topic modul position shouldnt appear in tag urls
You 're welcome Franz :)

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