Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Latest commit

 

History

History
25 lines (19 loc) · 1.11 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.11 KB

Tweet Preview plugin

The Tweet Preview plugin adds a preview to the tweet in the edit form when using the Pipit Sharing app.

Installation

  • Download the latest version of the Tweet Preview plugin
  • Unzip the download
  • Place the pipit_tweet_preview folder in perch/addons/plugins/ui/
  • Include the CSS and Javascript files in perch/addons/plugins/ui/_config.inc

Requirements

Browsers

The preview may not work on older browsers at this stage.

Including the files

To include the CSS and Javascript files, you need to have _config.inc in perch/addons/plugins/ui/. If you don't already have it, create it. Add the following to the file:

<link rel="stylesheet" href="/perch/addons/plugins/ui/pipit_tweet_preview/tweet_preview.min.css" />
<script src="/perch/addons/plugins/ui/pipit_tweet_preview/tweet_preview.min.js"></script>

For usage information visit the plugin's documentation.