Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:syces:frontend:location:uploadmanager [2015/07/07 16:20] co |
en:syces:frontend:location:uploadmanager [2019/03/14 10:07] (current) bb [Directory Structure for Terms and Conditions] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Upload Manager ====== | ====== Upload Manager ====== | ||
- | The upload manager is basically meant to allow the upload of custom templates to all locations or specific locations. In order to use uploaded templates you need to activate Layout: | + | The upload manager is basically meant to allow the upload of custom |
===== Left part of screen: Basic File Manager ===== | ===== Left part of screen: Basic File Manager ===== | ||
Line 13: | Line 13: | ||
* add directories to your home directory, | * add directories to your home directory, | ||
* add, rename and delete subdirectories of your home directory, | * add, rename and delete subdirectories of your home directory, | ||
- | * delete and rename files and | + | * delete, download |
* unzip zip-files | * unzip zip-files | ||
* to current directory | * to current directory | ||
* to directory for all locations (unpacked in folder ' | * to directory for all locations (unpacked in folder ' | ||
- | * to directory of current location (into folder captiveportal/ | + | * to directory of current location (into folder captiveportal/ |
===== Right part of screen: Upload form ===== | ===== Right part of screen: Upload form ===== | ||
- | On the right part of the screen you may upload one or more files to the last chosen | + | On the right part of the screen you may upload one or more files to any directory within your Home directory. There is a restriction of currently 10 MB total upload volume not including the logo image, your Terms and Conditions and PDF and CSV files containing user credentials. |
You may upload files with the following data types: html, tpl, css, png, jpg, jpeg, gif, zip. | You may upload files with the following data types: html, tpl, css, png, jpg, jpeg, gif, zip. | ||
Line 35: | Line 35: | ||
Please make sure that the template name is hotspot.tpl and all references like images within hotspot.tpl are preceded by {TPLDIR}. For further information please see [[en: | Please make sure that the template name is hotspot.tpl and all references like images within hotspot.tpl are preceded by {TPLDIR}. For further information please see [[en: | ||
- | | + | |
+ | ===== Directory Structure for Terms and Conditions | ||
+ | |||
+ | Default Terms and Conditions can be uploaded in the client module and are renamed automatically to ' | ||
+ | |||
+ | **Example Directory Structure: | ||
+ | \\ Default: / | ||
+ | \\ Default englisch | ||
+ | \\ Location 123 : / | ||
+ | \\ Location 123 italian : / | ||
+ | \\ Location 124 english: / | ||
+ | |||
+ | |||
+ | \\ Default: / | ||
+ | \\ Default englisch | ||
+ | \\ Location 123 : / | ||
+ | \\ Location 123 italian : / | ||
+ | \\ Location 124 english: / | ||
+ | |||
+ | |||
+ | **Examples for above:** | ||
+ | \\ Location 125, language = en => / | ||
+ | \\ Location 125, language = de => / | ||
+ | \\ Location 123, any language except it => / | ||
+ | \\ Location 123, language = it => / | ||
+ | \\ Location 124, language = de => / | ||
+ | \\ Location 124, language = en => / | ||
+ | |||
+ | |||
+ | \\ Location 125, language = en => / | ||
+ | \\ Location 125, language = de => / | ||
+ | \\ Location 123, any language except it => / | ||
+ | \\ Location 123, language = it => / | ||
+ | \\ Location 124, language = de => / | ||
+ | \\ Location 124, language = en => / | ||
+ | |||
===== Directory Structure for SMS Templates | ===== Directory Structure for SMS Templates | ||
- | SMS templates always reside in a folder called sms. They must be called **sms.tpl** or **sms-< | + | SMS templates always reside in a folder called sms. They must be called **sms.tpl** or **sms-< |
- | Home/sms/pt for portuguese. | + | |
For creating sms templates see [[en: | For creating sms templates see [[en: | ||
Line 48: | Line 83: | ||
\\ Home/ | \\ Home/ | ||
- | <note tip>For testing create a language subfolder (de, en, it, fr, pt, nl, es) that will probably not be needed and place your template there, then use the preview option in [[en: | + | When no appropriate template can be found the default template is used. |
+ | <note tip>For testing create a language subfolder (de, en, it, fr, pt, nl, es) that will probably not be needed and place your template there, then use the preview option in [[en: | ||