Go to the first, previous, next, last section, table of contents.
Catalog edition.
Here is an example template:
<title>Edit category _CATEGORY_</title>
<center><h3><font color=red>_COMMENT_</font></h3></center>
<h3>Edit category _CATEGORY_</h3>
<a href='_CENTRYINSERT_'><img src=_HTMLPATH_/images/new.gif alt='Insert a new record and link it to this category' border=0></a>
<a href='_CENTRYSELECT_'><img src=_HTMLPATH_/images/link.gif alt='Link an existing record to this category' border=0></a>
<a href='_CATEGORYINSERT_'><img src=_HTMLPATH_/images/open.gif alt='Create a sub category' border=0></a>
<a href='_CATEGORYSYMLINK_'><img src=_HTMLPATH_/images/plus.gif alt='Create a symbolic link to another category' border=0></a>
<a href='_CONTROLPANEL_'><img src=_HTMLPATH_/images/control.gif alt='Control panel' border=0></a>
<p>
<p>
_PATH_
<p>
<!-- start categories -->
<h3>Sub categories</h3>
<table>
<!-- params 'style' => 'table', 'columns' => 2 -->
<!-- start row -->
<tr>
<!-- start entry -->
<td> _LINKS_ <a href='_URL_'>_NAME_</a> (_COUNT_) </td>
<!-- end entry -->
</tr>
<!-- end row -->
</table>
<!-- end categories -->
<p>
<h3>Records in this category</h3>
<!-- start entry -->
<table border=1><tr><td>_LINKS_</td> _DEFAULTROW_<tr></table>
<p>
<!-- end entry -->
<!-- start pager -->
Number of pages _MAXPAGES_
<p>
_PAGES_
<!-- end pager -->
- `Parts'
-
The general structure of the parts is as follows:
...
<!-- start categories -->
Sub categories as Record list part.
<!-- end categories -->
...
Catalog entries as Record list part.
<!-- start symlink -->
...
<!-- end symlink -->
The symlink part is only shown in symbolic link selection context.
Each record found is displayed using the standard method,
See section Record list part.
The result is paginated, See section Multipage results template.
- `Tags'
-
- `_COMMENT_'
-
A report from the action that displayed the template.
- `_PATH_'
-
Full path of the current category, as built by the navigation of the user,
See section Catalog configuration file.
May not be the shortest path.
- `_PATH[0-9]+_'
-
Path component of the current category. _PATH0_ is the rightmost component of the path.
- `_PATHFILE_'
-
Full path of the current category, as built by the navigation of the user,
See section Catalog configuration file.
In this for the characters white space, slash, simple quote and double quote
have been replaced by underscore. Therefore _PATHFILE_ can ben used as the
name of a file, hence the name. For instance
/Sport and amusement/Vacations/
will
be _Sport_and_amusement_Vacations_
- `_PATHFILE[0-9]+_'
-
Path component of the current category, transformed in the same was as
_PATHFILE_. _PATHFILE0_ is the rightmost component of the path.
- `_CATEGORY_'
-
The name of the current category.
- `_CENTRYINSERT_'
-
URL to create a new record in the catalogued table and link it to the
current category.
- `_CENTRYSELECT_'
-
URL to select an existing record in the catalogued table and link it to the
current category.
- `_CATEGORYINSERT_'
-
URL to create a new category that will appear as a sub category of the
current category.
- `_CATEGORYSYMLINK_'
-
URL to select an existing category and link it as a sub category of the
current category.
- `_ROOT_'
-
URL to display the root of the catalog.
- `_CONTROLPANEL_'
-
URL to display the control panel of the Catalog software,
See section ccontrol_panel.html.
- `Tags in categories part'
-
The tags are in the Record list subpart.
The table used is catalog_category_<name>, See section catalog_category_<name>.
- `_LINKS_'
-
Replaced by a link to remove the corresponding sub category from the catalog.
- `_URL_'
-
Replaced by a link to navigate the corresponding sub category.
- `_NAME_'
-
Name of the sub category.
- `_COUNT_'
-
Total number of records stored in this category and all its descendants.
- `table tags'
-
All the automaticaly generated tags for the database table are
available, provided that
_DEFAULTROW_
was not found in the
template, See section Database table tags.
- `Tags in record list part'
-
- `_LINKS_'
-
Replaced by the following links:
- `Unlink entry'
-
Destroy the link between the corresponding record and the current category.
The record is not destroyed, other links are preserved.
- `Remove entry'
-
Destroy all the links in all categories of the catalog and remove the
corresponding record from the catalogued table.
- `table tags'
-
All the automaticaly generated tags for the database table are
available, provided that
_DEFAULTROW_
was not found in the
template, See section Database table tags.
- `Tags in symlink part'
-
- `_CATEGORYSYMLINK_'
-
URL to select the current category and return to the caller.
Go to the first, previous, next, last section, table of contents.