Moving quicklogin to header template [message #23228] |
Wed, 09 March 2005 18:42 |
mrock
Messages: 28 Registered: March 2005
Karma: 0
|
Junior Member |
|
|
Hi, I took this snippet from quicklogin.tmpl and added to the header template since I want login/password up near my logo.
{IF: __fud_real_user__}{TEMPLATE: quick_login_loged_in}{ELSE}
{TEMPLATE: quick_login_on}{END}
{IF: $logedin || $forum_info}{TEMPLATE: loged_in_list}{ENDIF}
But I get this error upon saving the header template:
"Undefined template: "TEMPLATE" inside "quick_login_loged_in"
I tried adding {TEMPLATE: quicklogin.tmpl} but that did not work so I am a little lost. Any ideas?
[Updated on: Wed, 09 March 2005 18:42] Report message to a moderator
|
|
|
|
|
|
|
Re: Moving quicklogin to header template [message #23235 is a reply to message #23234] |
Wed, 09 March 2005 20:39 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
To add references to other files you cannot use the template editor. You need to add those manually and they must be present near the top of the file.
FUDforum Core Developer
|
|
|
|
Re: Moving quicklogin to header template [message #23237 is a reply to message #23236] |
Wed, 09 March 2005 20:57 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
What you want to do cannot be done via the template editor, since the template editor only allows you to edit existing template content. It does not allow you to make templates reference other files, which is what is needed in this case.
You download header.tmpl and your editor of choice add REF line mentioned.
FUDforum Core Developer
|
|
|
|
|
|
|