Keyword

Module position on k2 item

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
13 years 8 months ago #93076 by stavroch
Module position on k2 item was created by stavroch
I want to show on each item one module position.

I edit the item.php and I type the <jdoc:include type="modules" name="user14" style="xhtml" />

The result of that is not to show the module.

How can I show on each item one module position?

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

More
13 years 8 months ago #93077 by Terry Britton
Replied by Terry Britton on topic Module position on k2 item
Try this: www.kksou.com/php-gtk2/Joomla/How-to-include-modules-in-Content-item-for-Joomla-1.5.x.php. I have read some posts about K2 stripping some content plugins, but it's worth a try.

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

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
13 years 8 months ago #93078 by stavroch
Replied by stavroch on topic Module position on k2 item
I would to prefer to have the module on the item.php and not on the k2 item (as an article).

I want to have template for item.php

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

More
13 years 8 months ago #93079 by Terry Britton
Replied by Terry Britton on topic Module position on k2 item
Just put the loadmodule statement in item.php and it will show up on all articles.

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

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
13 years 8 months ago #93080 by stavroch
Replied by stavroch on topic Module position on k2 item
You are right. But what you describe is about the item on k2 and not on the item.php

 

If I type on the admin - item the {loadposition user2} then it will show the content of module user2 but id i type on the item.php the {loadposition user2} then on the front page show the label {loadposition user201} and not the content of module user2 as I want.

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

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
13 years 8 months ago #93081 by stavroch
Replied by stavroch on topic Module position on k2 item

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


Powered by Kunena Forum