loginbox.tpl from serendipity_plugin_adduser
loginbox.tpl from serendipity_plugin_adduser
Developing the YAML port template I noticed that the login form used by serendipity_plugin_adduser looks a bit dull. Looking at the loginform.tpl the plugin supplies, I was a bit stunned to find a full HTML page ... is loginform.tpl only used for the extra page used if "Show sidebar login box?" is set to "No"?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: loginbox.tpl from serendipity_plugin_adduser
Hi!
That's true, the loginbox.tpl is only used for providing the popup authentication window, whereas the simple loginbox is emitted frmo within the common.inc.php file as PHP/HTML, to not need to utilize smarty markup (out of performance considerations and the ability to use CSS for simple styling of that area)
HTH,
Garvin
That's true, the loginbox.tpl is only used for providing the popup authentication window, whereas the simple loginbox is emitted frmo within the common.inc.php file as PHP/HTML, to not need to utilize smarty markup (out of performance considerations and the ability to use CSS for simple styling of that area)
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: loginbox.tpl from serendipity_plugin_adduser
Hello,
I've looked in the loginbox.tpl, registerbox.tpl, and all the php files in the adduser plugin and can't find where to just alter the way the login box is displayed on the page. Right now it reads: Username then an input box is under that, then below that is Password and under it another input box, under this is Email but then the input box is next to the word Email, not underneath. I thought I could find this easy and fix it but haven't been able to find it. Any help will be appreciated.
thanks,
~Ed587
I've looked in the loginbox.tpl, registerbox.tpl, and all the php files in the adduser plugin and can't find where to just alter the way the login box is displayed on the page. Right now it reads: Username then an input box is under that, then below that is Password and under it another input box, under this is Email but then the input box is next to the word Email, not underneath. I thought I could find this easy and fix it but haven't been able to find it. Any help will be appreciated.
thanks,
~Ed587
The best,
~Ed
~Ed
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: loginbox.tpl from serendipity_plugin_adduser
Hi!
But those are the right files. What did you change and which output do you expect?
You could simply insert some words into the file to see that they should be reflected on the page...
what's your URL? Are you sure the sidebar plugin is the ADDUSER loginbox? There are other s9y loginbox plugins (serendpity_plugin_loginform) which are completely distinct (and have no .tpl file, just CSS)
Regards,
Garvin
But those are the right files. What did you change and which output do you expect?
You could simply insert some words into the file to see that they should be reflected on the page...
what's your URL? Are you sure the sidebar plugin is the ADDUSER loginbox? There are other s9y loginbox plugins (serendpity_plugin_loginform) which are completely distinct (and have no .tpl file, just CSS)
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: loginbox.tpl from serendipity_plugin_adduser
Hi Garvin,
Come to think about it I only have an adduser box. My url is http://www.neterm.net/serendipity.
Come to think about it I only have an adduser box. My url is http://www.neterm.net/serendipity.
The best,
~Ed
~Ed
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: loginbox.tpl from serendipity_plugin_adduser
There is no html, like a forced line break, nor css rules that force those input boxes onto their own separate line. The box is located beneath "Username" and "Password", but not under "email" due to a) the width of the sidebar b) the length of the label (ie, username, password, email) and c) the defined width of the input box, which your template defines for all inputs as 150px.
If using smarty templates, you could restructure those fields and labels, such as forcing <br /> after the labels. I don't personally like to do that. I would rather use semantically proper html markup, then style that via css. IMHO, this form lends itself well to a definition list, ie:
Can you swing that, or need assistance?
If using smarty templates, you could restructure those fields and labels, such as forcing <br /> after the labels. I don't personally like to do that. I would rather use semantically proper html markup, then style that via css. IMHO, this form lends itself well to a definition list, ie:
Code: Select all
<dl>
<dt><label>blah blah</label></dt>
<dd><input blah blah /></dd>
</dl>=Don=