anc_hide plugin for Textpattern

The anc_hide plugin allows you to comment out areas of a page or form opaquely; using the anc_comment tag instead of HTML comments around a block of code will hide it from the rendered output.

Download

anc_hide 1.0

Installation

After downloading the plugin file, browse to your Textpattern site’s administrative interface, click the admin tab, then click plugins. Click the Browse button, locate the file on your computer, then click the Install button.

The plugin should now appear in your list of installed plugins. Be sure it is enabled before you try to use it. Look under the Active column of the plugin list. If you see the word No next to the anc_hide plugin, click it to change it to Yes.

Usage

<txp:anc_hide><h1>Test</h1>
<p>This is some code I want to hide from the browser.</p>
</txp:anc_hide>

License

©2005 by Andy Chase

This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Also

Syndicate content

Twitter

  • RT @Crell An obituary for an old friend: http://bit.ly/gNdVIl #Drupal #Git #CVS 3 years 18 weeks ago
  • (That is to say, in hook_views_data(). #views #drupal) 3 years 18 weeks ago
  • #drupal #views3 gurus: Is it possible to declare a relationship with an intederminate base table & field? (TBD by the handler?) 3 years 18 weeks ago
  • I wrote a module and someone else figured out how to use it to pull Webform data into #Drupal views. http://bit.ly/hGDGGi 3 years 24 weeks ago
  • RT @nquabbinlodge Meeting tonight in Athol MA! Work of the evening: confer the 3rdº on 1 candidate. Dinner at 6, lodge opens at 7. 3 years 29 weeks ago

Older

Contact

Andy Chase
(978) 297-6402
andychase [at] gmail.com
GPG/PGP Public Key