RD Easy PHP
Developer
3rd Party (Free)
1 downloads (last 90 days)

EE Version Support
- ExpressionEngine 3
- ExpressionEngine 4
Compatibility
If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.
- Updater
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Content Elements
- Better Workflow
- Matrix
- Grid
- Webservice
- Publisher
Requirements
- jQuery for the Control Panel
Add-On Type(s)
Plugin
Tags
Whether adding a lot or a little, enabling PHP code in your ExpressionEngine templates can be problematic. We developed this simple add-on to be able to use PHP in templates without having to enable PHP in the template itself.
Whether adding a lot or a little, enabling PHP code in your ExpressionEngine templates can be problematic. We developed this simple add-on to be able to use PHP in templates without having to enable PHP in the template itself.
The Tag
{exp:rd_easy_php file="path/to/file.php"}
Requirements
The only required tag is ‘file’ as this tells the add-on where to find the php file to load.
How does it work?
Simply put - the add-on will load the specified PHP file and spit back whatever code that file returns.
Sounds great, but what if I want to send data to the PHP file?
No problem! This add-on was designed with flexibilty in mind.
Any parameter you pass to the add-on will be available to the PHP file in the ‘template_vars’ array. So if I had the following tag…
{exp:rd_easy_php file="path/to/file.php" tv_show="Stargate"}
In my PHP file, I could then access the parameter as follows…
$tv_show = $template_vars['tv_show'];
You can even get creative and pass grid data into a single parameter, and then use PHP to explode it into a workable array in your file.
Download RD Easy PHP
EE Support | Downloads | Add-On Version | Release Date |
---|---|---|---|
3.0.0+ | Download | 1.0.0 | May 10, 2018 |
RD Easy PHP Links
This entry was created May 10, 2018, 3:55 pm.
This entry was last updated May 11, 2018, 1:35 pm.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.
1 Review:
stefanos 12.20.18
Great add-on that permits easily to use PHP in template without to enable the PHP option.