discourse-legacysite-perl/site/glist/templates/help/templates.html
2024-06-17 22:24:05 +10:00

143 lines
8.5 KiB
HTML

<html>
<head>
<style><%include include_style.css%></style>
<title>Gossamer List - Help - Templates</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr class="body_bold">
<td width="67%"><img src="<%image_url%>/pics/logo.gif" vspace="2"></td>
<td width="33%" align="right"><a href="javascript:window.close()">Close</a>
</td>
</tr>
<tr class="body_bold" bgcolor="#336600">
<td colspan="2"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="5"></td>
</tr>
</table><br>
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><span class="help_header">Help - Templates</span> </td>
</tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="1" align="center">
<tr bgcolor="#008000">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#FFFFFF">
<tr>
<td> <br>
<table width="92%" border="0" cellspacing="0" cellpadding="2" align="center">
<tr class="body">
<td>
<p>The Templates menu allows you to manage all of the templates
used in Gossamer List: the "Templates" that build the pages
users see while using Gossamer List as well as the "Email
Templates" used to build the emails that are automatically
sent to subscribers. The "Language" menu allows you to edit
the language that Gossamer List will display in prompts, warnings
and error messages. The "Template Globals" menu allows you
to add and edit globals: HTML tags that can be used in all
templates. </p>
<div align="justify">
<p><span class="helptitle">Templates</span><br>
Clicking "Templates" allows you to edit the templates that
create Gossamer List's HTML pages. By altering these templates,
you can customize the appearances and functions of the HTML
pages through which you and your users interact with Gossamer
List. </p>
<p>- Select a specific template from the drop-down menus.
</p>
<p>- Click "Load" to see the template displayed in the main
text area in the centre of the page. </p>
<p>- Text wrapping can be toggled on and off by clicking the "Enable/Disable Wrap" button. </p>
<p>- The size of the main text area can be edited (enter values
for the columns and rows in the "Resize" fields and click
the "Resize" button). Text wrapping can also be toggled
on and off. </p>
<p>- Insert changes to the template in HTML in the
main text area. </p>
<p>- You can automatically go to a certain line in the template
by entering the desired line number in the "Line" field
and clicking the "Go" button. </p>
<p>- Click "Save" to confirm your changes to the template
(you can alter the name of the template in the field beside
the "Save" button). </p>
<p><span class="helptitle"><a name="tpl_email">Default Email Templates</a></span><br>
Clicking the "Default Email Templates" link brings up a menu allowing you toedit the templates that will build the default subscription, unsubscriptionand validation emails that are sent to your subscribers and your users'subscribers. Note that these templates only determine the initial content ofthese templates for new users; you and your users can modify your ownpersonal email templates from the "Email Templates" section of the Accountmenu.
</p>
<p>- Select the specific template you wish to modify from
the drop-down menu and click "Load". The email template
will be displayed in the "To", "Subject", "From", "Extra
Body" and "E-mail body" fields. </p>
<p>- Make changes to the text and tags included in the desired
fields and click the "Save" button. The following tags can
be included in any of the fields: </p>
</div>
<blockquote>
<div align="justify">
<p>&lt;%pro_first_name%&gt; will automatically insert the
value entered in the "Full Name" field in the Account
menu. <br>
&lt;%pro_last_name%&gt; will automatically insert the
value entered in the "Full Name" field in the Account
menu. <br>
&lt;%usr_email%&gt; will automatically insert the value
entered in the "Email" field in the Account menu. <br>
&lt;%pro_url%&gt; will automatically insert the value
entered in the "URL" field in the Account menu. <br>
&lt;%sub_email%&gt; will automatically insert the subscriber's
email address. <br>
&lt;%sub_name%&gt; will automatically insert the subscriber's
name. </p>
</div>
</blockquote>
<div align="justify">
<p>You can save the template under a different name by entering
one in the "Save template as:" field and clicking the "Save"
button. </p>
<p><span class="helptitle"><a name="tpl_language">Language</a> </span><br>
Clicking "Language" displays a menu allowing you to view
and modify the text that will be displayed in prompts, warnings
and error messages.</p>
<p>- Click on a language category (ADD, LOG, SYS, etc.) to
bring up a list of all messages in that category. </p>
<p>- Re-type the message in the "Description" field in the
language you want, and click the "Save Changes" button.
Changes to the messages will be applied throughout Gossamer
List wherever the corresponding language code (displayed
to the left of the "Description" field) is found. </p>
<p>- You can also add or delete codes and descriptions in
the User Language menu. Enter new codes and descriptions
in the blank fields at the bottom of the page, or check
the "Delete" boxes beside the messages and click the "Save
Changes" button. The titles of new codes will have to begin with the category they belong to and an underscore: "ADD_newcode", for example.</p>
<p><span class="helptitle"><a name="tpl_global">Template Globals</a></span><br>
Clicking "Template Globals" allows you to edit Gossamer
List's globals. Globals are tags that call a variable (text,
HTML, etc.) that can be used in all templates. By editing
and adding globals, you can configure frequently used tags
to be quickly and easily inserted into any template you
wish. </p>
<p>- To edit an existing global, make changes to the content
in its "Description" field, and click the "Save Changes"
button. </p>
<p>- To create a new global, enter a name for it in the blank
"Code" field at the bottom of the menu. Enter the new global's
content in the blank "Description" field at the bottom of
the menu (globals can be written in HTML or regular text),
and click the "Save Changes" button. </p>
<p>&nbsp;</p>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>