Difference between revisions of "Template:Variables"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 14: | Line 14: | ||
|- | |- | ||
| '''TrainingLink''' || A link for training sessions. || {{TrainingLink}} || <tt><nowiki>{{#if {{TrainingLink}} | [{{TrainingLink}} Platform Training]}} </nowiki></tt> | | '''TrainingLink''' || A link for training sessions. || {{TrainingLink}} || <tt><nowiki>{{#if {{TrainingLink}} | [{{TrainingLink}} Platform Training]}} </nowiki></tt> | ||
|- | |||
| WhitepapersLink || colspan="4"|Future. Defined the same way as "TrainingLink", so it is easy to change. | |||
|- | |- | ||
| colspan="4" style="border-bottom-style:none"| | | colspan="4" style="border-bottom-style:none"| | ||
Line 45: | Line 47: | ||
| '''HideMspInfo''' || Hide info only MSPs care about? || {{HideMspInfo}} (empty=false) || <tt><nowiki>{{#if {{HideMspInfo}} | ...}} </nowiki></tt> | | '''HideMspInfo''' || Hide info only MSPs care about? || {{HideMspInfo}} (empty=false) || <tt><nowiki>{{#if {{HideMspInfo}} | ...}} </nowiki></tt> | ||
|} | |} | ||
====Variable Combinations==== | ====Variable Combinations==== |
Revision as of 21:34, 30 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 HD {{#if {{Skin}}|name|...|...else...}} Domain Used in the platformURL variable {yourDomain} Create platform links using {{platformURL}}, instead of https://... BrandLabel Label used in GUI
(Eclipse, Outlook,...)LongJump {{BrandLabel}} EnterpriseBrand Name of the platform AgileApps Cloud platform {{EnterpriseBrand}} TrainingLink A link for training sessions. {{#if {{TrainingLink}} | [{{TrainingLink}} Platform Training]}} WhitepapersLink Future. Defined the same way as "TrainingLink", so it is easy to change. Booleans ShowWhitepapers Show whitepapers? (empty=false) {{#if {{ShowWhitepapers}} | ...}} ShowOutlookSync Show info related to Outlook Sync & Email Edition Plugin? (empty=false) {{#if {{ShowOutlookSync}} | ...}} ShowDevInfo Show info for developers? Template:ShowDevInfo (empty=false) {{#if {{ShowDevInfo}} | ...}} ShowIsvInfo Show info only ISV care about? (empty=false) {{#if {{ShowIsvInfo}} | ...}} ShowMspInfo Show info only MSPs care about? (empty=false) {{#if {{ShowMspInfo}} | ...}} Boolean Inversions HideWhitepapers Hide whitepapers? Template:HideWhitepapers (empty=false) {{#if {{HideWhitepapers}} | ...}} HideOutlookSync Hide info related to Outlook sync? Template:HideOutlookSync (empty=false) {{#if {{HideOutlookSync}} | ...}} HideDevInfo Hide info for developers? Template:HideDevInfo (empty=false) {{#if {{HideDevInfo}} | ...}} HideIsvInfo Hide info only ISV care about? Template:HideIsvInfo (empty=false) {{#if {{HideIsvInfo}} | ...}} HideMspInfo Hide info only MSPs care about? Template:HideMspInfo (empty=false) {{#if {{HideMspInfo}} | ...}}
Variable Combinations
- Use this pattern to conditionalize information intended only for 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 only (even if it mentions MSPs) from information intended for MSPs only:
{{#if: {{ShowIsvInfo}} | __ISV info (ISV DOMAIN) __ }} {{#if: {{HideIsvInfo}} | {{#if: {{ShowMspInfo}} | __MSP info (LJ DOMAIN)__ }}}}