|
Written by kksou
|
|
Thursday, 26 January 2012 |
|
If you are using DirectPHP, you can use the following to enter PHP codes in your article:
- Login as administrator.
- Goto Global Configuration.
- Click the tab "Text Filters" (first one from the right).
- For all Filter Groups, the default is "Black List". For the respective Filter Groups, change the Filter Type from "Black List" to "No Filtering".
- 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".
- Don't forget to click "Save & Close"
That's it! You should now be able to enter PHP codes in your Joomla article. Note: The above applies to Joomla 2.5 and above only.
|