Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:syces:selfserviceportal:custom_templates [2016/08/23 07:54] co |
en:syces:selfserviceportal:custom_templates [2016/09/27 13:00] (current) co |
||
---|---|---|---|
Line 46: | Line 46: | ||
{LOGINTITLE}: | {LOGINTITLE}: | ||
{REGISTERTITLE} title for registration form\\ | {REGISTERTITLE} title for registration form\\ | ||
+ | {AGB}: link to agb.html, a file containing your Terms and Conditions; you may have agb.html files for different locations and different languages. Please check what the [[en: | ||
Any files you use (images, CSS etc.) should have a {TPLDIR} as a prefix to get the right path to your template folder, e.g. <img src=" | Any files you use (images, CSS etc.) should have a {TPLDIR} as a prefix to get the right path to your template folder, e.g. <img src=" | ||
- | If you want to offer templates in several languages you must create one subfolder for each language and place the templates in the subfolders: {TPLDIR}< | + | If you want to offer templates in several languages you must create one subfolder for each language and place the templates in the subfolders: {TPLDIR}< |
- | Send a zip file containing all required | + | For uploading your files please use the [[en: |
- | + | ||
- | Synergysystems then does some basic security and functionality checks, renames the template if necessary (either hotspot.tpl or custom_anonym.tpl) and uploads them in the appropriate custom directory. | + | |
To finally activate the custom template you have to choose " | To finally activate the custom template you have to choose " | ||
Line 117: | Line 116: | ||
===== custom_anonym.tpl (minimum requirements) | ===== custom_anonym.tpl (minimum requirements) | ||
- | This template can be used for the most flexible custom layout. You need to provide a form with a field named " | + | This template can be used for the most flexible custom layout. You need to provide a form with a field named " |
< | < | ||
< | < | ||
Line 138: | Line 136: | ||
</ | </ | ||
<!-- END BODY --> | <!-- END BODY --> | ||
+ | </ | ||
+ | </ | ||
+ | Please be aware that any template variables need to be placed within either the head or the body section. The example above needs at least one more template variable e.g. {DATE} within the body section in order to get the body section displayed. | ||
+ | Else use the following code if you only have the {LOGIN} variable: | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <!-- BEGIN HEAD --> | ||
+ | < | ||
+ | {SCRIPTS} | ||
+ | </ | ||
+ | <!-- END HEAD --> | ||
+ | |||
+ | <body onload=" | ||
+ | |||
+ | < | ||
+ | {LOGIN} | ||
+ | < | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
</ | </ | ||
</ | </ |