TextPattern CMS Plugins: Introducing wet_parachute

admin-ajax

Textpattern CMS core developers all make plugins to extend its functionality without bloat. One of these plugins is wet_parachute; an extension to Textpattern to warn authors that they are leaving the Write tab when unsaved text is present. Some browsers already have this functionality baked in and others will ignore the plugin completely, so this is an ideal example of something that works for some people some of the time. If it’s not a good fit for a particular situation, for example with an incompatible browser, then it need not be installed.

The key takeaway here is that it’s not adding overhead into the core. Cramming more functionality into the core product has a knock-on effect with speed, responsiveness and resource usage, which can impact the level of web hosting required to run Textpattern satisfactorily. As it stands, Textpattern is perfectly content and capable with even the lowest cost Arvixe hosting, and long may that continue.

This plugin is another example of an FTP-free Textpattern plugin install. No muss, no fuss. As with the previous two plugins, there’s a chunk of text to copy + paste, then an activation, and the new functionality is working. There’re no new tags with this plugin, so there’s nothing new to learn, but it might just save your article if you mis-click or mis-tap. Think of it as an insurance policy.

Start by getting the plugin from Robert’s website. You’ll download a .txt file with the contents of the plugin contained within. It looks like this (trimmed for brevity):

# wet_parachute v1.0
# Confirm dismissal of unsaved changes on the "Write" tab.
# Robert Wetzlmayr
# http://awasteofwords.com/help/wet_parachute
# ......................................................................
# This is a plugin for Textpattern - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# ......................................................................
H4sIAAAAAAAAA71be3faSLL/23yKXpwNIsagN+LlrECQeG/2Tm6c2Zk9yQxHSA0oFhIjCRtn
xvvZb1VLCL38yN7c4Rxbj66qrl+9ulogsy/w/d/Dfrdfv6FB6PhefRD2pX5daPN4pvbr5i5a
+wFeCHD1wV/QICI/0eiruzHv4vv8gWq+Cxy8I4OEdRRt+52OeWuGEfWXt35gh23L33TW1N12
[...]
Xqeq1dZym8RvUtVqp+Tb352ae340f/SlKRD7//CuFEh94LWo80dfiDq+DFUvvtdU73/DD0Sf
fAEqNm31u0+12jNeeao//BZTquljr0G1kxchN7bCzsR+fSmrqrlcyqYq2rwiUdsWeUETVc2i
omBadn1w/7/yLFaAUDkAAA==

Per the header instructions, paste the whole content into Admin → Plugins, click or tap Upload, then Install to confirm. Activate from the Plugins tab by clicking No, which will then toggle to Yes to indicate the plugin is ready for action.

The net result of this plugin is that, with a compatible browser, when a user navigates away from the Write tab with some unsaved content, a dialogue will be displayed requesting confirmation. In this example with a factory-fresh Mac/Chrome 36, I was not asked for confirmation to navigate away from the page before the plugin was installed – with wet_parachute, I am prompted to confirm navigation. Note that I see the dialogue text in UK English; the multi-lingual nature of Textpattern will use localised language translations where available, currently around 40 different languages.

Looking for quality Textpattern Hosting? Look no further than Arvixe Web Hosting and use coupon TEXTPATTERN for 20% off your first invoice!

Tags: , , , , , , , , , , , , , , | Posted under Textpattern | RSS 2.0

Author Spotlight

Pete Cooper

Pete Cooper

Pete Cooper has been using Textpattern since 2005. Textpattern is his preferred CMS weapon of choice. Its logical and flexible approach to content management makes Pete happy, as does its lightweight core and helpful user community. Pete's website - petecooper.org - runs on top of Textpattern and chronicles his day-to-day experiences from his home near the Atlantic in north Cornwall, United Kingdom.

Leave a Reply

Your email address will not be published. Required fields are marked *


6 − 4 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>