forked from gerhard/glz_custom_fields
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglz_custom_fields_help.html
25 lines (25 loc) · 3.08 KB
/
glz_custom_fields_help.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<h1>glz_custom_fields, unlimited custom fields</h1>
<p>This plugin provides unlimited custom fields in Textpattern. You can create custom fields as selects, multi-selects, checkboxes, radio buttons and textareas - as well as the default text input fields. Predefine values can be set for custom fields and you can select a single default value (selects, multi-selects, checkboxes and radio buttons only).</p>
<p><strong>If you want to submit bug reports and feature requests, please visit <a href="http://github.com/gerhard/glz_custom_fields" title="glz_custom_fields on GitHub">glz_custom_fields on GitHub</a></strong>. There is also a handy section on <a href="http://wiki.github.com/gerhard/glz_custom_fields/" title="glz_custom_fields wiki">glz_custom_fields tips and tricks</a>.</p>
<h2>Time and date pickers</h2>
<p>Time and date pickers are pretty straightforward to use. To set the required JavaScript and styling properly, please refer to the <span class="information">INSTALL</span> file that came with this plugin.</p>
<h2>Custom scripts</h2>
<p>This is a rather complex and long sought-for piece of functionality, please refer to the <span class="information">my_image.php</span> file which contains inline explanations on how they should be used. The file came with the plugin, in the <span class="information">scripts/glz_custom_fields</span> folder.</p>
<h2>Default values</h2>
<p>You can now define a single default value by adding curly brackets around a value like so: <code>{default value}</code>.</p>
<h2>Ranges</h2>
<p>If you want to define ranges, create a new custom field with the following name e.g. <code>Price range &pound;(after)</code>.</p>
<ul>
<li><code>range</code> - this is really important and <strong class="warning">must</strong> be present for the range to work correctly.</li>
<li><code>&pound;</code> - don't use straight symbols (like <code>€</code> or <code>£</code>), instead use entity ones e.g. <code>&euro;</code> and <code>&pound;</code> are valid symbols.</li>
<li><code>(after)</code> - don't leave any spaces after e.g. $ and (after). This basically says where to add the measuring unit (be it a currency or something like m<sup>3</sup> etc.) - <code>(before)</code> is default.</li>
</ul>
<p>Ranges are defined 10-20, 21-30 etc. (no measuring units - they get pulled from the custom set name).</p>
<h2>Support</h2>
<p>If anything goes wrong or you discover a bug:</p>
<ol>
<li>report an issue on <a href="http://github.com/gerhard/glz_custom_fields/issues" title="glz_custom_fields_public issues" rel="external">GitHub</a>.</li>
<li>look for help in the Textpatterb forum, <a href="http://forum.textpattern.com/viewtopic.php?id=23996" rel="external">glz_custom_fields thread</a>.</li>
<li>ping me via <a href="http://www.twitter.com/gerhardlazu" rel="external">Twitter</a>. I'm using it around the clock, it's great for short messages!</li>
<li>drop a line to <a href="mailto:gerhard@lazu.co.uk?Subject:glz_custom_fields needs your attention" rel="external">gerhard@lazu.co.uk</a> (sometimes things can get really hectic on my end, please be patient).</li>
</ol>