- Download the latest version of the Sharing App.
- Unzip the download
- Place the
pipit_sharingto your apps list in
- Perch or Perch Runway 3.0 or higher
By default Pipit Sharing uses
$_SERVER['HTTP_HOST'] to get the website’s domain
You can tell it to get it from somewhere else. Under the Sharing app settings, there’s a select field “Get website URL from”. It has options:
|Option||What it means|
|Settings||From the Website URL field in the Settings.|
|$_SERVER[‘HTTP_HOST’]||A less secure alternative, but useful if sub-domains are used.|
|Perch configuration||From Perch configuration file. Use the constant
Defining the constant
If you are using the Website URL in the Settings option, whatever protocol (
https) you set there will be used.
If you fail to add the protocol to Website URL or use the
$_SERVER['HTTP_HOST'] option, the app will check whether you have enabled SSL in your Perch config file
perch/config.php. If you do not have SSL enabled in your config, the app will check the page’s URL at runtime and will use whatever protocol is being used.
To enable SSL in your
You can find out more about Perch SSL configuration in Perch’s documentation.
You can now generate “add to” calendar links for:
- Outlook (web)
- ICS - data URI (for iCal & Outlook)
If you would like to suggest other options, feel free to do so on GitHub.