Differences

This shows you the differences between two versions of the page.

Link to this comparison view

user_documentation:learn:customize:use_first_last_names [2014/01/23 15:08]
flop25
user_documentation:learn:customize:use_first_last_names [2014/01/23 15:11] (current)
flop25
Line 6: Line 6:
  
 First change the registration template and log-in template: read [[user_documentation:use:features:template]] and so work on register.tpl and identification.tpl\\ First change the registration template and log-in template: read [[user_documentation:use:features:template]] and so work on register.tpl and identification.tpl\\
-Here the goal is to duplicate the html code for the username, and adapt to last and first names +Herethe goal is to duplicate the html code for the username, and adapt it to last and first names 
-for themes based on 'default'you have in register.tpl+for themes based on 'default'\\ 
 +So you have inside register.tpl:
 <code html> <code html>
       <li>       <li>
Line 32: Line 33:
 </code> </code>
  
-Here the words 'Lastname' and 'Firstname' are NOT translated: to translate them use {'Lastname'|@translate} instead and then you will have to add your own translations, still using the plugin Local Files Editor and its tab 'Languages'+<wrap info>__  __ :</wrap>Here the words 'Lastname' and 'Firstname' are NOT translated: to translate them use {'Lastname'|@translate} instead and then you will have to add your own translations, still using the plugin Local Files Editor and its tab 'Languages'
  
 Do the same in identification.tpl on Do the same in identification.tpl on
 
Back to top
user_documentation/learn/customize/use_first_last_names.1390489714.txt.gz · Last modified: 2014/01/23 15:08 by flop25
 
 
github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact