Click Here


How to enter HTML tags, javascript and PHP codes in Joomla 1.6 and 1.7?
Written by kksou   
Wednesday, 23 February 2011

Note: The following applies to Joomla 1.6 / Joomla 1.7 and above only.

By default, the Joomla editor strips away any HTML tags, javascript and PHP codes in a Joomla article.

If you are using DirectPHP, you can use the following to enter PHP codes in your article:

  1. Login as administrator.
  2.  

  3. Goto Content - Article Manager.
  4.  

  5. Click "Options" on the menu (the one second from the right). You should see a popup screen titled "Article Manager Options".
  6.  

  7. Click the tab "Text Filters" (also second one from the right).
  8.  

  9. For all Filter Groups, the default is "Black List". For the respective Filter Groups, change the Filter Type from "Black List" to "No Filtering".
  10.  

  11. For example, if you are only administrator, change the Filter Type of the Super Users to "No Filtering". Leave all other remain as "Black List".
  12.  

  13. Don't forget to click "Save & Close"
  14.  

That's it! You should now be able to enter PHP codes in your Joomla article.

Note: The above applies to Joomla 1.6 / 1.7 and above only.


Last Updated ( Monday, 10 October 2011 )
 
Parse error: syntax error, unexpected '=' in /home/fann/kksou.com/php-gtk2/components/com_sef/cache/shCacheContent.php on line 27087