Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.5. Template and common markers

Since release 2.3.0, it is possible to use template file to render the new login box. The template is set with typoscript and the default one is EXT:newloginbox/res/newloginbox_00.html

These are substituted in all newloginbox item displaying templates.

Markers

  1. ###ACTION_URI### - URI of the request for the login/logout form

  2. ###EXTRA_HIDDEN### - Hook required (additionnal hidden field used by kb_md5fepw extension by Kraft Bernhard)

  3. ###ON_SUBMIT### - Hook required (used by kb_md5fepw extension by Kraft Bernhard)

  4. ###PREFIXID### - Same as class name ('tx_newloginbox_pi1') usefull to get a unique classname prefix

  5. ###REDIRECT_URL### - URL of redirection upon login

  6. ###STORAGE_PID### - explicit enough I guess (if not : id of the page where user are stored)

  7. ###STATUS_HEADER### - depends of the template

  8. ###STATUS_MESSAGE### - depends of the template

Wrap parts

  1. ###HEADER_VALID### - usefull to define what to show/hide

  2. ###MESSAGE_VALID### - usefull to define what to show/hide

  3. ###FORGOTP_VALID### - usefull to define what to show/hide

Newloginbox Language Markers (see pi/locallang.php)

  1. ###EMAIL_LABEL### - corresponding to 'your_email'

  2. ###FORGOT_PASSWORD### - corresponding to 'forgot_password'

  3. ###FORGOT_PASSWORD_BACKTOLOGIN### - corresponding to 'forgot_password_backToLogin'

  4. ###FORGOT_PASSWORD_ENTEREMAIL### - corresponding to 'forgot_password_enterEmail'

  5. ###LOGIN_LABEL### - corresponding to 'login'

  6. ###PASSWORD_LABEL### - corresponding to 'password'

  7. ###SEND_PASSWORD### - corresponding to 'send_password'

  8. ###USERNAME_LABEL### - corresponding to 'username'