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 )
 

Comments  

 
+1 # Holger 2012-03-03 01:40
In Version 2.5.1 I reached the settings simply by using the configuration. There you should find the "Text filter" on the last tab.
Reply | Reply with quote | Quote
 
 
# Sonyks 2012-03-10 01:19
Thanks.. i was stuck in 2.5 joomla trying to find out text filtering.
Reply | Reply with quote | Quote
 

Add comment


Security code
Refresh

< Prev   Next >

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