redITEM:Managing redITEM templates

From redWIKI
Jump to: navigation, search

Once you have stored all your items, there is one last place to visit before publishing your redITEM directory. While every item has the same fields to fill in, items belonging to certain categories will not need to display those fields that are not relevant to them. You can customize the templates used to display individual items or those in specific categories in the "Templates" section.

Click on the "Templates" submenu link to bring up the Templates listing screen. Here is an overview of all the available templates and brief descriptions for each. You can also see the template type and whether the template is "active". A search filter is available on the top left of the listing view where you can narrow down the templates displayed according to all or part of their name.


redITEM comes installed with three default templates: one for the "See item view" (displayed using the "See item" menu item) and one for each of the two redITEM modules. You can create multiple variations for each to suit the site's needs.

When adding a new template modifying an existing one, start by giving the template an appropriate label and brief description. Then select the template type from the three options available (as of the latest release):


The "Content" space is where the code for the template layout is stored. In addition to standard HTML, you can use the tags available for each template type to display various bits of item information. These tags are located below the "Content" space, and only appear once a template type has been selected in the template has been saved at least once. (redITEM needs the template type to be saved in order to know which tags to display.)

Aside from the standard tags that come with each template, every field created in redITEM comes with a pair of tags: one for the field label, such as [description_text], and another for the information stored for that field, such as [description_value].


Personal tools