User Tools

Site Tools


en:user:gslib

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:user:gslib [2019/09/23 22:42] kjdonen:user:gslib [2025/07/23 01:53] (current) – [Variables] updated for 3.12 kjdon
Line 1: Line 1:
 +
 +
 +
 ====== gslib: XSL utility templates ====== ====== gslib: XSL utility templates ======
  
Line 13: Line 16:
  
 It also defines some common variables, which can be accessed by all template files, using $variablename. It also defines some common variables, which can be accessed by all template files, using $variablename.
 +
 +gslib.xsl can be found in web/interfaces/default/transform/gslib.xsl.
  
 ===== Variables ===== ===== Variables =====
Line 19: Line 24:
 | $library_name | The name of the library servlet, eg 'library' | | $library_name | The name of the library servlet, eg 'library' |
 | $site_name | The internal name of the current site, eg 'localsite'. | | $site_name | The internal name of the current site, eg 'localsite'. |
 +| $webswing_context | The name of the context through which webswing can be accessed, eg 'webswing-server' |
 +| $servlet_url_prefix |  |
 +| $servlet_context |  |
 | $use_client_side_xslt |  | | $use_client_side_xslt |  |
 | $filepath |  | | $filepath |  |
 | $google_tracking_id |  | | $google_tracking_id |  |
- +| $googlesignin_client_id |  | 
-| $berry_icon |  | +| $googlemaps_api_key |  | 
-| $unselected_favourite_icon |  | +| $favouritebasket |  | 
-| $selected_favourite_icon |  | +| $documentbasket |  | 
-| $berrybasketswitch |  | +| $webglilink |  | 
-| $favouritebasketswitch |  | +| $cookie_path |  | 
-| $berryBasketOn |  |+| $unselected_favourite_icon_url |  | 
 +| $selected_favourite_icon_url |  |
 | $favouriteBasketOn |  | | $favouriteBasketOn |  |
 | $documentBasketOn |  | | $documentBasketOn |  |
Line 36: Line 45:
  
 ===== Templates ===== ===== Templates =====
 +
 +gslib defines HEAPS of templates. Here is just a few of them.
  
 | <gslib:siteName/> | The display name of the site | | <gslib:siteName/> | The display name of the site |
-| <gslib:siteDescription/> The description of the site |+| <gslib:siteDescription/> | The description of the site |
 | <gslib:siteLink/> |  | | <gslib:siteLink/> |  |
 | <gslib:collections/> |  | | <gslib:collections/> |  |
Line 51: Line 62:
 | <gslib:error/> |  | | <gslib:error/> |  |
 | <gslib:displayErrorsIfAny/> |  | | <gslib:displayErrorsIfAny/> |  |
 +| <gslib:rightArrow/> |  |
 +| <gslib:siteHomePageTitle/> |  |
 +| <gslib:selectACollectionTextBar/> |  |
 +| <gslib:crossCollectionQueciSearchForm/> |  |
 +| <gslib:groupName path=""/> |  |
 +| <gslib:groupDescription path=""/> |  |
 +| <gslib:groupHref path=""/> |  |
 +| <gslib:groupLinkWithImage/> |  |
 +| <gslib:collectionLinkWithImage/> |  |
 | <gslib:/> |  | | <gslib:/> |  |
 | <gslib:/> |  | | <gslib:/> |  |
 | <gslib:/> |  | | <gslib:/> |  |
-| <gslib:/> |  | 
-| <gslib:/> |  | 
-| <gslib:/> |  | 
-| <gslib:/> |  | 
-| <gslib:/> |  | 
-| <gslib:/> |  | 
-| <gslib:/> |  | 
-| <gslib:/> |  | 
-| <gslib:/> |  | 
- 
- 
  
en/user/gslib.1569278579.txt.gz · Last modified: 2019/09/23 22:43 (external edit)