Working Your Personal PHP Scripts in Joomla |
||||
| By Willy Suwarno |
||||
| If you a web site builder, you're more likely to be aware of
Joomla. It is a content material management system (CMS)
that enable us to construct a database pushed web site with
in a number of hours. Undoubtedly, it is likely one of the
most famous CMS available proper now. Nevertheless, net
programmers might need an important query: how you can
integrate our own php program into the Joomla page? If we
are able to do it, not solely we get advantages utilizing
the Joomla engine for article posting, menu organizing,
theme changing, and so on, but additionally we will have our
personal PHP and MySQL utility in that website! Searching a little bit, I found a Joomla extension for this purpose referred to as “PHP by FWD”. Curiously, this extension has a high fee: about 4.5 of 5 stars. I downloaded that extension and simply comply with the instruction provided beyond the “Documentation” button given. It was really worth trying. The extension allow us to run our php information simply by importing the php files into the ‘extensions/com_php/information’ directory. Another good thing is that we are able to assign a menu item for any own PHP information! Not only supporting PHP, however it also helps HTML tags, obviously. Connecting to the MySQL database could be finished as regular, utilizing a small connect.inc.php file or so. Nevertheless, in my expertise, I faced another downside that the ’extensions/com_php/recordsdata’ directory is just not writeable (it means you cannot put information into it), as a result of the extension installation was completed by Joomla as ‘wwwrun’. As I'm not the administrator of the online server, I can not override the privilege to alter its permission for public-writing. An article prompt that I've to run the file administration system in the way in which that Joomla did. It meant that I've to have a Joomla “file explorer”. Nicely, the Joomla file supervisor extension called ‘eXtplorer’ will do it for you. You may upload your php recordsdata into that assigned directory utilizing its upload tool. Not as straightforward as FTP, but it surely works! |
||||
| Article Source: http://interpret.zar.vg | ||||
| About The Author Examine creator's website about internet business and digital photography. |
||||
|
||||
| © 2012 interpret.zar.vg |