Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » [archived] anc_hide

#1 2005-01-13 03:28:11

usonian
Archived Plugin Author
From: Dunwich, MA
Registered: 2004-02-24
Posts: 7
Website

[archived] anc_hide

Notice: This thread is archived, there is a native txp tag now: <txp:hide>.

**********************************************************

Note My apologies – immediately after posting this I realized anc_hide would be a much better name for the plugin and tag, and decided to switch it before too many people began reading this. The topic title is wrong, it should read:

anc_hide plugin.

Mea culpa :(

A very simple, but mildly useful plugin that allows you to comment blocks of code in a page template or form with a &lt;txp&gt; tag instead of HTML comment tags, leaving the code in place while hiding it from the browser. This is useful for debugging things, or turning sections of a page on and off without making users download large amounts of commented HTML.

Download the plugin: http://achase.net/things/textpattern/anc_hide_1.0.txt

Usage:

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

Permlink:
http://achase.net/files/14/hideplugin

Last edited by els (2009-04-24 17:43:50)

Offline

#2 2005-01-13 09:06:12

JustinLow
Plugin Author
From: Singapore
Registered: 2004-04-25
Posts: 57
Website

Re: [archived] anc_hide

Brilliant!


Justin

Offline

  1. Index
  2. » Archives
  3. » [archived] anc_hide

Board footer

Powered by FluxBB