Help

Tags related to Categories

<%insert_list_cats%>

Description:     Displays the list of categories for a sub-category or Home.
Scope:             Any top-level template
Result:             Pre-formatted table containing the categories. Admin has control over how many columns the table is broken up into.
Processing:      Long
Example:         <%insert_list_cats%> will produce the listing of categories using the list_cats.tpl for each category.

<%insert_search_cats%>

Description:     Displays result of searching for categories.
Scope:             Any top-level template
Result:             Pre-formatted table containing the categories. Admin has control over how many columns the table is broken up into.
Processing:      Long
Example:         <%insert_search_cats%> will produce the listing of categories using the list_cats.tpl for each category.

<%insert_cat_count%>

Describe:         Displays the number of categories displayed on the screen
Scope:             Any top level template, where the <%insert_list_cats%> or similar tag is called
Result:             Number
Processing:      Short
Example:         (<%insert_cat_count%>) will display (N), where N is the number of categories

<%stats_cats%>

Description:     Displays the total number of categories in the database (not including the pending categories)
Scope:             Anywhere in the system
Result:             Number
Processing:      Short
Example:         <%insert_cat_count%> will display N, where N is the number of categories in the system

<%cat_num_links%>

Description:     Displays number of links in a category, excluding pending links
Scope:             In templates displaying categories
Result:             Number
Processing:      Short
Example:         <%cat_num_links%> will display N, where N is the number of links in the category

<%cat_image%>

Description:     Displays category graphic or default image, to be used in the HTML <IMG> tag, SRC option.
Scope:             Same as <%cat_num_links%>
Result:             relative path to an image
Processing:      Short
Example:         <IMG SRC=”<%cat_image%>”> will display the category graphic from the image field in the category or default if blank.

<%cat_name%>

Description:     Displays the category name
Scope:             Same as <%cat_num_links%>
Result:             text
Processing:      Short
Example:         <%cat_name%> will print the category name

<%cat_num_cats%>

Description:     Displays number of sub categories in a category, excluding pending categories
Scope:             In templates displaying categories
Result:             Number
Processing:      Short
Example:         <%cat_num_cats%> will display N, where N is the number of sub categories in the category

<%cat_desc%>

Description:     Displays the category description
Scope:             Same as <%cat_num_links%>
Result:             text, advisable to place in a text area, since it could be long
Processing:      Short
Example:         <TEXTAREA> <%cat_desc%> </TEXTAREA> will print the category description

<%cat_date%>

Description:     Displays the date a category was created in the admin – specified format.
Scope:             Same as <%cat_num_links%>
Result:             text date, preformatted
Processing:      Short
Example:         <%cat_date%> displays “mm/dd/yyyy” - category creation date

<%cat_pick%>

Description:     Displays the label “pick” for editor’s picks. The label comes from the current language file and is called lu_cat_pick.
Scope:             Same as <%cat_num_links%>
Result:             text
Processing:      Short
Example:         <%cat_pick%> will print “pick” for editor’s picks with default English language file.

<%cat_id%>

Description:     Displays internal database category id – unique in the system.
Scope:             Same as <%cat_num_links%>
Result:             Number
Processing:      Short
Example:         <%cat_id%> will print 7968 where 7968 is the internal cat id.

<%meta_keywords%>

Description:     Displays the meta keywords stored for each category or default if bank Should be used in category template in the <META> HTML keyword for search engine registration.
Scope:             Same as <%cat_num_links%>
Result:             text
Processing:      Short
Example:         <META name="keywords" content="<%meta_keywords%>"> will properly set the meta tag for the category page.

<%meta_desc%>

Description:     Displays the meta description stored for each category or default if bank Should be used in category template in the <META> HTML keyword for search engine registration.
Scope:             Same as <%cat_num_links%>
Result:             text
Processing:      Short
Example:         <META name="description" content="<%meta_desc%>"> will properly set the meta tag for the category page.

<%cat_path%>


Description:     Displays the hierarchy path to the cat.
Scope:             Same as <%cat_num_link%>
Result:             Text
Processing:      Short
Example:         <%cat_path%> will display "Computers > Internet" if category is under Internet category.

<%cat_custX%>

Description:     Displays the custom cat field X, where X is a number 1-6.
Scope:             Same as <%cat_num_link%>
Result:             Text
Processing:      Short
Example:         <%cat_cust3%> will display the data from the third custom field of that category.

<%cat_drop_name%>
<%cat_drop_date%>
<%cat_drop_description%>
<%cat_drop_user%>
<%cat_drop_numsubs%>
<%cat_drop_perm%>
<%cat_drop_vis%>
<%cat_drop_numlinks%>
<%cat_drop_editors_pick%>
<%cat_drop_image%>
<%cat_drop_ascending%>
<%cat_drop_descending%>

The tags above control the sorting of categories. Please see similar tags in Links section for more description. The tags are applicable within the Cat Sorting Form.

continue >>