Portal Administration Guide : The PORTAL folder

The PORTAL folder
Xinet Portal also installs a PORTAL folder. This folder contains the encoded PHP files that make Xinet Portal function. These files should not be modified.
Making changes to Xinet Portal configuration
If you have previously used Xinet, you may be used to making changes to Xinet configuration and having those changes immediately appear in users’ browsers. With Xinet Portal, because it uses sessions, users will have to logout and log back in before configuration changes take effect.
Looking at Xinet Portal arrays
This section contains background information for those who wish to examine the tags within a particular array or for those sites that decide they need to amend or create their own arrays. Note that any major customizations which stray significantly from the standard
Exhibit sites should be created using the Xinet Portal Data Interchange for ease of use and consistency in upgrades.
(The Xinet Guide to Xinet Portal Data Interchange provides details.) You should be familiar with basic PHP scripting (http://www.php.net/manual/) and with basic template customization. You should also become familiar with Xinet Portal data arrays that contain information about the end-user’s session and dynamic data arrays generated from Xinet.
Those arrays include:
$_SERVER = Information about Web server access
$_SESSION = Current end-user’s session information1
$basket_info = Array of Variable Data Tags and associated data for baskets
$dir_info = Array of Variable Data Tags and associated data for directories (Also see the more powerful $files_info array.)
$dirkywd_info = Array of Variable Data Tags and associated data for directory keywords (Also see the more powerful $keywords_info array.)
$file_info = Array of Variable Data Tags and associated data for files (Also see the more powerful $files_info array.)
$files_info = Array of Variable Data Tags and associated data for files and directories (Combines $dir_info and $file_info functionality.)
$keyword_info = Array of Variable Data Tags and associated data for file keywords (Also see the more powerful $keywords_info array.)
$keywords_info = Array of Variable Data Tags and associated data for file and directory keywords (Combines $dirkywd_info and $keyword_info functionality.)
$links_info = Array of Variable Data Tags and associate data for file-links displayed within QuarkXPress, InDesign, PDF and video previews.
$nav_info = Array of Variable Data Tags and associated data for turn-down navigation of volumes
$searchfields_info = Shows properties of search fields that have been set by the user.
$spreads_info = Array of Variable Data Tags and associate data for page spreads displayed within QuarkXPress, InDesign, PDF, and video previews.
$tmpl->variables['PORTALPAGE'] = Array of general page variables such as the logout button, username and language strings.
$tmpl->USERINFO = Lists information pertaining to the user’s Xinet permissions.
$versions_info = Array of Variable Data Tags and associate data for Xinet Versioning versions.
$volume_info = Array of Variable Data Tags and associated data for volumes.
For further details about Xinet Portal arrays, please also refer to The $dirkywd_info, $keyword_info, and $keywords_info arrays and The $files_info, $file_info, and $dir_info arrays.
 

1
Of interest to developers: Prior to Xinet Portal 4.0, the $SESSION array contained objects that proved quite “expensive” in terms of performance when run many times per page. While they still exist, they are now found in the parent Portal $tmpl object. These include: [CHANGEPASSWORD][MAILTO], [PRIMARYGROUP], [DEFAULTARCHFRMT], [GROUPS] => Array, [BASKETFILE], [BASKETNAME], [SHOWBASKET], [ICONBASKET], [SHORTBASKET], [LONGBASKET], [LANGUAGESTYLE], [LANGUAGEPATH], [LANGUAGECHARSET], [HOSTTYPE], [ACL]. Also moved from the volumes array in $SESSION: [SITE_URL], [LONG_FILE_NAME], [LONG_NAME], [SHORT_FILE_NAME], [SHORT_NAME], [NAME], [VOLUME_NAME], [FP], [PATH], [SERVER], [SERVER_NAME], [II_LINK], [LANG_ADATE], [LANG_MDATE], [LANG_CDATE], [LANG_FSIZE], [LANG_SIZE], [LANG_RES], [LANG_ITYPE], [LANG_TYPE], [LANG_WD], [LANG_HT], [LANG_COMM], [INBASKET], [FILE_BROWSE_LINK], [VOLUME_BROWSE_LINK], [VOLUME_BROWSE_LINK_UTF8MAC], [SEARCH_LINK], [VOLUME_SEARCH_LINK], [FILE_GETIMAGE_LINK], [LARGE_PREVIEW], [SMALL_PREVIEW], [SP_SOURCE], [ICON_PREVIEW], [VN], [FN], [FT], [I16], [IP], [NB], [SB], [SP], [II], [FAIC].