Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:2.0:admidio_customization [2024/01/12 17:31] – fasse | en:2.0:admidio_customization [2024/01/12 21:31] (current) – [Use texts from language files] fasse | ||
---|---|---|---|
Line 56: | Line 56: | ||
| {$additionalHeaderData} | <meta charset=" | | {$additionalHeaderData} | <meta charset=" | ||
| {$content} | < | | {$content} | < | ||
- | | {$currentUser} | Smith | Object of the logged-in user. All information | + | | {$currentUser} | Smith | Object of the logged-in user. All profile data can be queried via this object. |
| {$debug} | false | Normally //false// unless debug mode has been turned on in config.php | | | {$debug} | false | Normally //false// unless debug mode has been turned on in config.php | | ||
| {$hasPreviousUrl} | true | Indicates whether there is a URL from which this page was called. In the default theme, a back button is then displayed. | | | {$hasPreviousUrl} | true | Indicates whether there is a URL from which this page was called. In the default theme, a back button is then displayed. | | ||
Line 64: | Line 64: | ||
| {$javascriptContentExecuteAtPageLoad} | if(javascript = 1) {} | Additional Javascript code of the respective page to be executed when the page is called up. | | | {$javascriptContentExecuteAtPageLoad} | if(javascript = 1) {} | Additional Javascript code of the respective page to be executed when the page is called up. | | ||
| {$languageIsoCode} | en | ISO code of the current selected language e.g. ' | | {$languageIsoCode} | en | ISO code of the current selected language e.g. ' | ||
+ | | {$l10n} | All language texts | Object to access all language texts from Admidio. | ||
| {$menuSidebar} | < | | {$menuSidebar} | < | ||
| {$organizationName} | Demo-Organization | | {$organizationName} | Demo-Organization | ||
Line 77: | Line 78: | ||
| {$userUuid} | 97f8346c-ca53-40de-857a-459d26d9df40 | | {$userUuid} | 97f8346c-ca53-40de-857a-459d26d9df40 | ||
| {$validLogin} | true | With valid registration in Admidio //true//, otherwise //false//. | | | {$validLogin} | true | With valid registration in Admidio //true//, otherwise //false//. | | ||
+ | |||
+ | ==== Use data of the logged-in user ==== | ||
+ | With Smarty you have access to all profile data and the UUID of the logged-in user in the template files. The '' | ||
==== Use texts from language files ==== | ==== Use texts from language files ==== | ||
- | With Smarty you also have access to the texts from the language files (adm_program/ | + | With Smarty you also have access to the texts from the language files (adm_program/ |
<code html>< | <code html>< | ||
The curly brackets with the l10n-> | The curly brackets with the l10n-> |