The "Include Content Item" plugin
- To include a content item within anoteher content item, use the syntax {include_content_item 123}
where 123 is the ID of the content item to be included. Note that both the intro and the fulltext will be included. - To include only the intro of a content item within another content item, use the syntax {include_intro 123}.
- To include only the main text, use the syntax {include_fulltext 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}
- The ID of the respective content item is listed in the Content Items Manager
- It is not necessary to publish the content item that will be included.
- If you installed the DirectPHP plugin, you can also store PHP code snippets in a content item. This can then be included into other content items.
Note:
Please make sure that in the Mambot/Plugin Manager, then inlcud content item plugin comes before the DirectPHP plugin, so that this plugin is being processed first, followed by DirectPHP.