More than 1000+ satisfied clients and counting, since 2010


Static Text After Joomla Article – How to Add

Static text after Joomla article

Static Text After Joomla ArticleJoomla articles are easy to create, edit and delete. Apart from article, content like image files, media files and others can be maintained and manipulated. But is it possible to include static text after Joomla article? Yes, use any of the following methods to include static text after Joomla articles.

Methods to Add Static Text After Joomla Articles

  • Override the view of com_content in the template and add some static text
  1. Go to componentscom_contentviewsarticletmpl
  2. Copy default.php
  3. Paste it in templatestemplate_namehtmlcom_contentarticle
  4. Change the default.php to include static text
  • Create a system plugin that works on onPrepareContent trigger

function onPrepareContent($item, $params, $limitstart)
// append text in $item->text

The easiest method to include static text  is through plugin but to customize the text with greater flexibility, modifying the codes is the best method. According to your convenience, choose any one of the methods to include static text after Joomla articles.

Written by

The author didnt add any Information to his profile yet