Keyword

Add a module into a K2 item

  • Selwyn Shuman
  • Selwyn Shuman's Avatar Topic Author
  • Offline
  • New Member
More
13 years 8 months ago #92342 by Selwyn Shuman
Add a module into a K2 item was created by Selwyn Shuman
Hi All:

Thanks in advance for any help you can give me. I am converting a site from using joomla articles to K2 items. I have one article where I include a module in the article using the syntax {jaloadposition japos="CT_Contact_Article" } where "CT_Contact_Article" is the a custom position for the module

The module, itself, is a simple form to allow people to send me simple question (can be viewed at 'www.capietours.com/test/contact-us'. the module is a rapidcontact contact form. perhaps, i am going about this all wrong, but I could not figure any other way of getting the page to work with both contact details and a contact form so any comments are appreciated

Thanks again

Selwyn

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

  • Selwyn Shuman
  • Selwyn Shuman's Avatar Topic Author
  • Offline
  • New Member
More
13 years 8 months ago #92343 by Selwyn Shuman
Replied by Selwyn Shuman on topic Add a module into a K2 item
oops, never mind (embarrassed) I had neglected to enable the loadmodule plug-in. changed syntax to loadmodule, instead of JAloadmdule (the Joomlarts plugin), which does not work, for some reason and all is fixed. If anyone has time, however, to look at the web site and suggest a better way of accomplishing what I have done that would be nice

Thank you again
Selwyn

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

More
13 years 6 months ago #92344 by McGreg
Replied by McGreg on topic Add a module into a K2 item

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

  • Jean-michel Essaitier
  • Jean-michel Essaitier's Avatar
  • Offline
  • New Member
More
13 years 6 months ago #92345 by Jean-michel Essaitier
Replied by Jean-michel Essaitier on topic Add a module into a K2 item
Hello,

I have instaled the modulesanywhere and i have insert the code {modulepos Module_Content} in the item.php where are located in my .../templates/myjoomlatemplates/html/com_K2/templatename/ but the module does not work. In the k2 category i have selected the template K2 and i have activate the modulesanywhere plugins and the Module_Content. How does it work?

 

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

More
13 years 6 months ago #92346 by McGreg
Replied by McGreg on topic Add a module into a K2 item
You must enable 2 plugins 

1. Editor Button - Modules Anywhere make configuration av it...

2. System - Modules Anywhere also config it....

look in K2 if you have allowed joomla plugins..

after those step should not to be a problem.. 

I use them on many places on my site. the best way i find is use them together with mod_blank_15v43 and tab plugin. (I dont know if its a never version av it.) look a example on www.vivapoland.com/index.php/sport/pilka/ekstraklasa.html nearly to the right, the module name is Ekstraklasa. An other examle you can see here www.vivapoland.com/index.php/sport/pilka/ekstraklasa.html, This is pleased in other component. I embed there 11 modules with tab plugin

I find this way better than use it in K2 directly, because i have a newspaper web and its really usual for my, but it works..I was testing this into K2 article first...

ps.there is a nonumber plugin also you must enable to get it work correctly.. 

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

  • Jean-michel Essaitier
  • Jean-michel Essaitier's Avatar
  • Offline
  • New Member
More
13 years 6 months ago #92347 by Jean-michel Essaitier
Replied by Jean-michel Essaitier on topic Add a module into a K2 item
Ok but i would like to insert automatically a module in all my k2 items.

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

More
13 years 6 months ago #92348 by McGreg
Replied by McGreg on topic Add a module into a K2 item
best way is write a bit of code and place it into ithem.php but i cant it...

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


Powered by Kunena Forum