Portal Administration Guide : Xinet Portal Themes : Xinet Portal tags

Xinet Portal tags
There are two primary types of tags specific to Xinet Portal: variable data tags and Xinet Portal tags. These tags work together to enable Xinet Portal to pull the requested and/or applicable information directly from Xinet for presentation in your Xinet Portal templates. The rest of this section discusses some of the Xinet Portal tags. Variable data tags discusses the variable data tags. Appendix: Xinet Portal Tags and Templates presents a full list.
The Xinet Portal tags are simply HTML tags used to designate the beginning and close of page or tabular data to be presented in a Xinet Portal template as determined by the user’s privileges defined by the Xinet administrator. You can recognize a Xinet Portal tag by its preface: Styles:tmpl or Styles:sub.
Here is code from the toplevel.tmpl.html template:
<styles:tmpl name="portalPage" version="4.0">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>XINET&nbsp;WEBNATIVE&reg; - {LANG_VOLHEAD} {UN}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="/PORTAL/defaults/javascript/jqueryui/1.8.9/themes/
smoothness/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="{SITE_URL}/templates/base_portal.css" rel="stylesheet"
type="text/css">
<<link href="{SITE_URL}/templates/portal.css" rel="stylesheet"
type="text/css">
<!--[if IE 6]>
<link href="{SITE_URL}/templates/ie6hacks.css" rel="stylesheet"
type="text/css">
<![endif]-->
<!--[if IE 7]>
link href="{SITE_URL}/templates/ie7hacks.css" rel="stylesheet"
type="text/css">
<![endif]-->
{PORTAL_REQUIRED_DONOTREMOVE}
<script src="{SITE_URL}/templates/portal.js"
type="text/javascript"></script>
</head>
<body>
<div id="page">
<div id="headerwrap">
<styles:tmpl name="header" src="header.tmpl.html" parse="on" />
</div>
<div id="navwrap">
<styles:tmpl name="navigator"
src="navigator_table.tmpl.html" parse="on" />
</div>
<div id="dirwrap">
<styles:tmpl name="volumes"
src="volume_table.tmpl.html" parse="on" />
</div>
<styles:tmpl name="toolbar"
src="toolbar.tmpl.html" parse="on" />
</div>
</body>
</html>
</styles:tmpl>
An important guideline for Xinet Portal tags:
Tags should always be used in pairs. The first tag is specific to the data to be defined within (i.e., <Styles:tmpl name="volume_row">). The second tag is to identify the close of the tag style and is simply </Styles:tmpl>.
Xinet Portal tags have up to four attributes:
type (but, not always)
condition (but, not always)
There are Xinet Portal tags relative to these attributes for each table grouping utilized in the site templates. They include:
The _table tag defines the directory, volume, or file information to be displayed in a table. This tag also determines whether a directory, volume, or file is hidden or visible. The _table tags for Xinet Portal include:
.imageorder_table
.upload_table
XinetColorPicker_table
abs_table
annotations_table
basket_table
basketbtns_table
basketcontrol_table
basketname_table
clipping_table
directory_table
file_table
files_table
finder_comment_table
icc_table
imageorder_table
keyword_table
links_table
navigator_table
page_table
progress_table
rel_table
searchfields_table
spreads_table
stagehistory_table
upload_table
usm_table
usmcustom_table
video_options_table
video_table
volume_table
xmp_table
The _row tag defines the directory, volume, file, or keyword information to be displayed in a row or rows within a table. When a row has been defined by one of these, it will iterate through all items in the appropriate array (e.g., volume_info for the volume_row). These tags will be nested within the relevant _table tag described above. The _row tags for Xinet Portal
include:
annotations_row
annotationsspreads_row
archive_row
basket_row
basketbtns_row
bigwebhistory_row
containers_row
directory_row
file_row
filelinks_row
files_row
history_row
jobsummary_row
keyword_row
keywords_row
links_row
navigator_row
order_plate_row
progress_row
searchfields_row
spreads_row
stagehistory_row
tabs_row
tech_row
textruns_row
userjobs_row
versions_row
video_options_row
video_row
volume_row
The _cell tag defines the content of directory, volume, or file information to be displayed in a cell within a table row. These tags will be nested within the relevant _row tag described above. The _cell tags for Xinet Portal include:
annotations_cell
annotationsspreads_cell
archive_cell
basket_cell
bigwebhistory_cell
containers_cell
directory_cell
file_cell
filelinks_cell
files_cell
finder_comment_cell
history_cell
jobsummary_cell
keyword_cell
keywords_cell
links_cell
navigator_cell
searchfields_cell
spreads_cell
stagehistory_cell
tabs_cell
tech_cell
textruns_cell
userjobs_cell
versions_cell
video_cell
video_options_cell
volume_cell
The _select_table tag defines the selection of the compression file type to be utilized when downloading a Collection of assets. The only _select_table tag for Xinet Portal is the archive_select_table tag. By default, users will download files as uncompressed ZIP files.