Include Content Item Module
Written by kksou   
Thursday, 24 July 2008

This module allows you to include content items into your module.

This is similar to the Custom Output in Joomla 1.0, or Custom HTML in Joomla 1.5. The main difference is that you can insert other content items or articles into the module content with {include_content_item 123},
where 123 is the ID of the content item to be included.
Note: The ID of the respective content item is listed in the Content Items Manager (or Article Manager in Joomla 1.5).

Very Important: This module makes use of the Include Content Item plugin. So please make sure you have installed this plugin too for this module to work.

Also, make sure you have upgraded your Include Content Item Plugin to the latest v1.02/1.52 (released July 23, 2008).



Latest Version

v1.0.2 (for Joomla 1.0) and v1.5.2 (for Joomla 1.5)
Released January 20, 2010

Fixed the error in PHP 5.3 "Warning: Parameter 2 to plgContentinclude_content_item::onPrepareContent() expected to be a reference, value given in libraries/joomla/event/event.php on line 67". Thanks to tekfix for highlighting this.

Download

How to install

  1. First, make sure you have installed the plugin Include Content Item plugin. This module DOES NOT work without the Include Content Item plugin.
  2. Download and install the Include Content Item module.
  3. Make sure the module is published / enabled.
  4. Select a module position where you want to place the module.
  5. Go to Module Manager and click on "Include Content Item Module".
  6. In the parameter "Content", enter the content for the module in plain HTML. Note that this is not a WYSIWYG editor. You have to enter everything in plain HTML.
  7. Where you want to include a content, use the following syntax:
    • Standard use: {include_content_item 123}
    • To add the title of the included article: {include_content_item 123 1}
    • To add the title and link to the included article: {include_content_item 123 1 1}

    Parameter #1: id of the content/article to be included
    Parameter #2: 1 means show title, 0 or ignore means don't show title.
    Parameter #3: 1 means show title and link. 0 or ignore means don't show title and link.

Tips and Techniques

  • If you also have the DirectPHP plugin installed, you can include PHP commands in the included content item, or in the content area of the module. However, make sure that in the Plugin Manager, the DirectPHP plugin is listed after the Include Content Item plugin so that the content item is included followed by the processing by DirectPHP.
  • If you need to create more modules using this plugin, go to Module Manager, check the "Include Content Item Module", and click the "Copy" button on the top right of the page.
  • You can also use this module to copy and paste your Google Adsense code direct into the content area of the module.

History

  • v1.0.1 (for Joomla 1.0) and v1.5.1 (for Joomla 1.5)
    Released December 17, 2008
  • Fixed the warning message "Notice: Undefined property: stdClass::$params in tmpl/default.php on line 21"


 

Comments  

 
# kg 2012-05-30 09:31
is there a version for joomla 2.5?
 
 
# kksou 2012-06-03 20:50
Hi,

Sorry for the late reply.

Have developed the include_content _item module for joomla 2.5 over the weekend.

Have emailed you the module. Please give it a try and let me know if it works.

Regards,
/kksou
 
 
# Georgs 2012-06-08 17:55
Hi
Can you send me you module to? for 2.5 i will like to test it..
 
 
# kksou 2012-06-09 05:43
Hi,

Have just emailed you a copy of the module for Joomla 2.5.

Please give it a try and let me know if it works, ok?

Regards,
/kksou
 
 
# kksou 2012-06-09 05:43
Hi,

Have just emailed you a copy of the module for Joomla 2.5.

Please give it a try and let me know if it works, ok?

Regards,
/kksou
 
 
# pararrayos 2012-08-28 11:06
Hi guys, does Include Content Item Module work with joomla 2.5? Neither kg nor Georgs report something... Could please kksou attach it or send it via email?
 
 
# goora 2012-12-20 05:22
Hey there, could you please send me the module for joomla 2.5 version?
 
 
# nicole-46 2012-12-20 07:37
Hey there, could you please send me the module for joomla 2.5 version, as well?
Thanks in advance
 
 
# rokdazone 2013-01-16 04:43
Hello, i'm also interested in the Joomla 2.5 version of this module
 
 
# Klaus E. 2013-02-28 06:11
Hello kksou,

please send me the Include Content Item Module 2.5 version too.

Regards, Klaus
 
 
# kksou 2013-02-28 06:28
Hi Klaus,

Have just emailed you.

Regards,
/kksou
 
 
# Bjorn 2013-03-10 10:51
Hey kksou,

Why dont you share the new Content Item Module 2.5 on this site?

I would really love it aswell, please send it to me :)

Best regards
 
 
# lucy 2013-05-24 00:05
Hello kksou,

please send me the Include Content Item Module 2.5 version too.

Regards, lucy
 
 
# kksou 2013-05-24 01:51
Hi Lucy,

Have just emailed you.

Please let me know if you didn't receive it.

Regards,
/kksou
 
 
# lucy 2013-05-25 00:07
Quoting kksou:
Hi Lucy,

Have just emailed you.

Please let me know if you didn't receive it.

Regards,
/kksou

Thanks
 
 
# Cartho 2013-05-27 01:52
Hello kksou,

please send me the Include Content Item Module 2.5 version too.
Regards,
Cartho
 
 
# kksou 2013-05-27 06:10
Hi Cartho,

Have just emailed you.

Please let me know if you didn't receive it.

Regards,
/kksou
 
 
# lucy 2013-05-30 01:50
Include content item module for joomla 2.5 is not integrated with JComments (if I have an article with {Jcomments on} that is include in Include content item module show me {Jcomments on} text when must swoh the number of comments.
 
 
# kksou 2013-05-30 02:07
Hi Lucy,

Please refer to the article: Ordering of Joomla plugins

Try swapping the order of the two plugins. It might work.

Regards,
/kksou
 
 
# lucy 2013-05-30 03:56
Don't work
 
 
# kksou 2013-05-30 09:50
Hi,

The include content item is a plugin. As the name suggests, it's for use within a Joomla article (which is com_content)

Jcomments is another component. It is not aware of the include content item plugin. Hence the tags are not processed with Jcomments.

Regards,
/kksou
 
 
# Thom 2013-06-25 07:56
I would also very much like the 2.5 version of the module. Is there a reason it's not available yet? could you send it?
 
 
# benjynet 2013-09-09 09:15
Hi, could you mail me your Include Content Item Module 2.5 version. I search a module to put one article made by author in a module on my website.
Regards,
Ben
 
 
# harryordine 2013-09-16 23:39
Hi there - I tried to download the include content item module from your site but it shows a broken link. Is it possible to email me the module?
Thank you.
 
 
# kksou 2013-09-17 00:57
Hi,

Which joomla version are you using?

Regards,
/kksou
 
 
# zeyma 2013-10-08 06:04
Hi kksou,

Could you please send me the module for joomla 2.5 version?
Thank you very much.

Zeyma
 
 
# wan_Ghost 2013-10-12 21:38
hello kksou,

may you please send me the module for joomla 2.5 version? i would to testing it on my site right now...

Thank you very much... :-)
 
< Prev   Next >

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2012. kksou.com. All Rights Reserved