PR Environment
Developer
3rd Party (Free)

EE Version Support
- ExpressionEngine 2
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
This plugin allows you to add environment-specific template code.
Usage
Parameters:
“name”: Specify the environment name. This should be set in EE’s config by specifying a name and associated IP address(es). Multiple IP’s can be set by a pipe delimiter.
“ip”: Specify an IP address instead of an environment name.
Methods:
“get”: Gets the current environment name. If an environment name is not configured for the current IP address, it will return the IP address.
Examples:
config.php:
$conf['pr_env']['local'] = '127.0.0.1';
template:
{exp:env name="local"} {/exp:env}
{exp:env ip="127.0.0.1"} {/exp:env}
{exp:env:get}
PR Environment Links
This entry was created October 28, 2014, 8:37 am.
This entry was last updated October 28, 2014, 8:39 am.
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.
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!