How to run my own PHP script in Joomla?
The first is via normal URL GETs and POSTs. I find an easy way to do this is to setup a Joomla article on a hidden menu. For example, start a new article on your site, and make a hidden menu, and add that article to it with the alias “widgets”. Thus, you would now be able to view that article at the address: www.mysite.com/widgets.
How to insert a PHP script into WordPress?
→ For WordPress, check out the “ Insert PHP ” plugin. → For Joomla, check out the “ Jumi ” extension. I prefer working in Joomla myself, so here are some notes about using Jumi: While Jumi has quite a lot of functionality, the easiest way to use it (IMHO) is to basically “include” your custom PHP script by using their syntax.
Can you run a PHP script in Jumi?
While Jumi has quite a lot of functionality, the easiest way to use it (IMHO) is to basically “include” your custom PHP script by using their syntax. In the article or module where you want your script to run, you would just need to call the PHP script, like so:
How can I run my own PHP script?
In the article or module where you want your script to run, you would just need to call the PHP script, like so: So, in the above second example, it assumes that you have a file called “go.php” that lives at [root] / programs. You may want to locate your scripts elsewhere, of course.
Can you use JavaScript in a Joomla article?
Normally in a Joomla article, code such as Javascript or PHP will not work. This is for good security reasons. People could do a lot of harm if they were free to use these inside your articles. However, many advanced users need to use such code.
How to install the Sourcerer plugin in Joomla?
Upload and Install Sourcerer In the Administrator area of your Joomla site, click Extensions > Manage. You will be taken to the Extensions: Install administrative page: Click Upload Package File tab. Click Or browse for file green button and find the Sourcerer plugin installation file on your hard drive.