Last active
December 12, 2015 03:28
-
-
Save Kaapiii/4707267 to your computer and use it in GitHub Desktop.
Contrexx3 New Placehoders
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//------------------------- | |
// New Contrexx3 placeholders | |
//------------------------- | |
/* | |
for use in html files use --> {PLACEHOLDER_NAME} | |
for use in Contrexx3 editor please use -> [[PLACEHOLDER_NAME]] | |
*/ | |
{DOMAIN_URL} -> Domain url -> www.example.com | |
{BASE_URL} -> Domain url + subdirectories to Contrexx3 installation (without language prefix) -> www.example.com/subfoldertoinstallation | |
{PAGE_URL} -> conatains (/subfolder/lang/index.php?params) -> /test/de/?section=shop&cmd=confirm&smallscreen=0 | |
// Contrexx default page links | |
{NODE_HOME} -> index.php?section=home | |
{NODE_PRIVACY} -> link to page of module privacy | |
{NODE_IMPRINT} -> link to page of module imprint (Impressum) | |
{NODE_SITEMAP} -> link to sidemap page | |
{LANGUAGE_NAVBAR_SHORT} -> renders language menu with active languages | |
// Contrexx3 Login links | |
{NODE_LOGIN} -> link to login page | |
{NODE_ACCESS_SETTINGS_PROFILE}-> link to login profile page | |
// not new | |
{LOGOUT_URL} -> lougout url | |
{ACCESS_USER_USERNAME} -> print name of currently (loged in) user | |
// Template switch links | |
{STANDARD_URL} -> link to default page view (sets mobile param off current Node/URL to 0 ) -> smallscreen=0 | |
{MOBILE_URL} -> link to mobile page (adds mobile param to current Node/URL) -> smallscreen=1 | |
{PRINT_URL} -> link to print view (adds printview param to current Node/URL) -> printview=1 | |
{PDF_URL} -> link to pdf view (adds pdfview param to current Node/URL) -> pdfview=1 | |
{APP_URL} -> link to app view (adds appview param to current Node/URL) -> appview=1 | |
// New company placeholders | |
{CONTACT_COMPANY} -> company name from backend settings -> contact | |
{CONTACT_ADDRESS} -> adress name from backend settings -> contact | |
{CONTACT_ZIP} -> zip/PLZ name from backend settings -> contact | |
{CONTACT_PLACE} -> place name name from backend settings -> contact | |
{CONTACT_COUNTRY} -> country name from backend settings -> contact | |
{CONTACT_PHONE} -> phone number from backend settings -> contact | |
{CONTACT_FAX} -> fax number from backend settings -> contact | |
{CONTACT_EMAIL} -> email from backend settings -> contact | |
// Module specific link buidling Contrexx3 | |
{NODE_SHOP} -> link to shop(previous to Contrexx3: index.php?section=shop) | |
{NODE_SHOP_CART} -> link to shop cart (previous to Contrexx3: index.php?section=shop&cmd=cart) | |
{NODE_SHOP_CART_2} -> link to shop cart with lang id 2 (whitch is english) -> index.php?section=shop&cmd=cart&seetlang=2 | |
// Socialmedia placeholders | |
{FACEBOOK_LIKE_IFRAME} | |
{GOOGLE_PLUSONE} | |
// Tracking Google analytics | |
{GOOGLE_ANALYTICS} | |
// Module specific link building | |
{NODE_NEWSLETTER_SUBSCRIBE} | |
{NODE_CALENDAR_EVENT} | |
{CALENDAR_EVENT_ID} | |
//-------------------- | |
// constructed theme placeholders | |
//-------------------- | |
{NODE_CONTACT_10} -> link to form with id 10 | |
//-------------------- | |
// Default placeholders | |
//-------------------- | |
// Header | |
{JAVASCRIPT} -> javascript collector placeholder | |
{STYLE_FILE} -> stilesheet collector placeholder | |
{LOGIN_INCLUDE} | |
// Body | |
{LOGIN_URL} -> Seite bearbeiten | |
{LOGIN_CONTENT} -> link to default contrexx login page | |
{COUNTER} -> contrexx specific statistics | |
// Breadcrumbs | |
{NAVTREE} -> prints current page title | |
{NAVTITLE} -> prints page breadcrumbs with links -> <a title="Informationen" href="/test/en/Informationen">Informationen</a> | |
Example: | |
<a href="{NODE_HOME}">Home</a> > {NAVTREE}<div class="current">{NAVTITLE}</div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment