Closed (fixed)
Project:
Drupal core
Version:
6.12
Component:
other
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2009 at 23:53 UTC
Updated:
9 Feb 2012 at 20:20 UTC
I have enabled the user login block via admin/build/blocks/mytheme
How do I change the layout? And the labels? I assume I need a custom block-user-0.tpl.php. But what variable would I call for the form? I'm not sure I'm even asking the right questions.
I have searched and searched and can't find what I need for D6. Found a tutorial for D5 to make a custom login bar, but that's not what I need.
Thanks,
L
Comments
Comment #1
lindsayo commentedI ended up doing three things: using project/compact_forms to make the field labels contained within the fields; adding display:none to the links ID to hide them; and adding code through template.php to create a custom login button:
Anybody know what code to use to remove those links from the user login block, rather than just using CSS to hide them?
Comment #2
japanitrat commentedunset($form['links']);in your theme function
Comment #3
kars-t commentedHi
I am closing this issue to clean up the issue queue. Feel free to reopen the issue if there is new information and the problem still resides. If not please make sure you close your issues that you don't need any more.
Maybe you can get support from the local user group. Please take a look at this list at groups.drupal.org.