General Placeholders
in
STS 4: General Placeholders list
This list of General placeholders is directly from the STS User Manual, reproduced here for you convenience.File: /includes/modules/sts_inc/general.php
You do not have to explicitly list or declare this in any of the STS modules' settings. They are available for all scripts.
| Placeholder | Description |
|---|---|
| $date | The current date |
| $sid | The string for the Session ID in the format "SessionIdVarName=WhateverTheSessionIdIs" |
| $cataloglogo | Shop logo with link to index.php. Before v4.3: oscommerce.gif in catalog/images folder. Since v4.3: header_logo.gif, in template folder/images/english (or other language). |
| $urlcataloglogo | The URL used by the $catalog logo |
| $myaccountlogo | The MyAccount graphic and link to account.php . Before v4.3: header_account.gif in catalog/images folder. Since v4.3: header_account.gif, in template folder/images/english (or other language) |
| $urlmyaccountlogo | Deprecated in v4.3, use $urlmyaccount instead |
| $cartlogo | The shopping cart graphic and link to shopping_cart.php. Before v4.3: header_cart.gif in catalog/images folder linking to shopping_cart.php (without SSL). Since v4.3: header_cart.gif, in template folder/images/english (or other language), linking to the same page (with SSL if present). |
| $urlcartlogo | Deprecated in v4.3, use $urlcartcontents instead |
| $checkoutlogo | The Checkout graphic and link to checkout_shipping.php. Before v4.3: header_checkout.gif in catalog/images folder. Since v4.3: header_checkout.gif, in template folder/images/english (or other language). |
| $urlcheckoutlogo | Deprecated in v4.3, use $urlcheckout instead. |
| $contactlogo | Added in v4.3: image header_contact_us.gif, located in template folder/images/english (or other language), and linking to contact_us.php . |
| $loginofflogo | Added in v4.3. If customer is not logged: displays header_login.gif in template folder/images/english (or other language), linking to login.php. If customer is logged: displays header_logoff.gif in template folder/images/english (or other language), linking to logoff.php |
| $breadcrumbs | The "Top > Catalog > whatever..." breadcrumbs text and links |
| $myaccount | The text version of "My Account" and link to account.php. |
| $urlmyaccount | The URL used by the MyAccount function |
| $logoff | The Logoff text and link |
| $urllogoff | The URL for the LogOff function |
| $myaccountlogoff | shows "My Account | Logoff" if logged in or "My Account" if not logged in |
| $cartcontents | The text version of the "Cart Contents" function |
| $urlcartcontents | The URL of the shopping_cart.php page, using SSL (if available). Buggy before v4.3 (was same as $cartcontents). |
| $checkout | The text version of the "Check Out" function |
| $urlcheckout | The URL used by the "Check Out" function |
| $templatepath | Deprecated in v4.3, use $templatedir instead. |
| $templatedir | Contains the path to the template folder, without trailing slash. |
| $headertags | New in v4.0.4: The meta tags for the <head> section of the html page. By default contains only the <TITLE> meta tag. This variable is automatically inserted into the $headcontent variable, so you don't need to use it in your template. Note: This variable can be modified by some modules to allow for other meta tags, for example a module for header tags controller modifies this variable to add description and keywords to the pages |
| $numrequests | The text "1489 requests since Friday 11 August, 2006" |
| $footer_text | The osCommerce copyright information and "Powered By osCommerce" texts. |
| $banner_only | The banner, generally displayed at the bottom of the pages. |
| $langid | New in v4.5.8: This tag allows you to add the language ID to your image link to call an image according to the language selected by the user. |
Explore more..
Main Store: Swarovski + Supplies
Store at ARTFIRE
Store at ETSY
ClearlyChosen Swarovski & Product Library
JEM: Craft and Jewelry Making Library
shCredo: Health Therapies Library
Segue2: Random General Topics- ClearlyChosen Twitter
- NetWebbing Twitter
- shCredo Twitter
- Segue2 Twitter
- my Flickr
my Squidoo
Library & Tutorial
Twitter
Other
Healthful Soulful Things
Custom Search


Comments
Post new comment