Difference between revisions of "Template:Skin-specific Variables"
From LongJump Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 39: | Line 39: | ||
====Variable Combinations==== | ====Variable Combinations==== | ||
:Use this pattern to conditionalize information intended | :Use this pattern to conditionalize information intended for all [[Service Provider]]s (both ISVs and MSPs): | ||
::{| | ::{| | ||
<pre>{{#if: {{ShowIsvInfo}} {{ShowMspInfo}} | | <pre>{{#if: {{ShowIsvInfo}} {{ShowMspInfo}} | | ||
Line 47: | Line 47: | ||
|} | |} | ||
:Use this pattern if it is necessary to distinguish information intended for ISVs | :Use this pattern if it is necessary to distinguish information intended for ISVs (which may mention MSPs) from information intended for MSPs only: | ||
::{| | ::{| | ||
<pre>{{#if: {{ShowIsvInfo}} | | <pre>{{#if: {{ShowIsvInfo}} | |
Revision as of 21:15, 31 May 2012
Variables and Their Usage
These variables are defined for each skin in LocalSettings.php.
They are case-insensitive.
Variable Name Definition Value in Current Domain Usage Skin Abbreviated name LJ {{#if {{Skin}}|name|...|...else...}} Domain Used in the platformURL variable na.longjump.com Create platform links using {{platformURL}}, instead of https://... BrandLabel Label used in GUI
(Eclipse, Outlook,...)LongJump {{BrandLabel}} EnterpriseBrand Name of the platform LongJump Platform {{EnterpriseBrand}} TrainingLink A link for training sessions. http://www.longjump.com/index.php?option=com_eventlist&view=eventlist&Itemid=178 {{#if {{TrainingLink}} | [{{TrainingLink}} Platform Training]}} WhitepapersLink Future. Defined the same way as "TrainingLink", so it is easy to change. Booleans ShowWhitepapers Show whitepapers? true (empty=false) {{#if {{ShowWhitepapers}} | ...}} ShowOutlookSync Show info related to Outlook Sync & Email Edition Plugin? true (empty=false) {{#if {{ShowOutlookSync}} | ...}} ShowDevInfo Show info for developers? Template:ShowDevInfo (empty=false) {{#if {{ShowDevInfo}} | ...}} ShowIsvInfo Show info only ISVs care about true (empty=false) {{#if {{ShowIsvInfo}} | ...}} ShowMspInfo Show info only MSPs care about true (empty=false) {{#if {{ShowMspInfo}} | ...}} PlatformAdminInfo Show tenant configuration (empty=false) {{#if {{PlatformAdminInfo}} | ...}} ShowInstallInfo Show info for installers (empty=false) {{#if {{ShowInstallInfo}} | ...}}
Variable Combinations
- Use this pattern to conditionalize information intended for all Service Providers (both ISVs and MSPs):
{{#if: {{ShowIsvInfo}} {{ShowMspInfo}} | __Info for all Service Providers (LJ and ISV domains)__ }}
- Use this pattern if it is necessary to distinguish information intended for ISVs (which may mention MSPs) from information intended for MSPs only:
{{#if: {{ShowIsvInfo}} | __ISV info (ISV DOMAIN) __ | <!-- HideIsvInfo --> {{#if: {{ShowMspInfo}} | __MSP info (LJ DOMAIN)__ }}}}