Hi,
I just started to use Drupal about a week ago and quite new with the API. I am trying to move the login block to the top part of a page. At the same time, i want to change the login block so the textfields are next to each other (like below so the login block looks like a bar) and the remaining items - 'register' and 'request password' below the textfields.
+-------+ +-------+ +------+
user: | | password: | | | Login|
+-------+ +-------+ +------+
I have manged to change the location of the block by modifiying an existing theme. I added this code below to whereever i wan the block to be displayed.
$block = module_invoke('user', 'block', 'view', 4);
print $block['content'];
So, right now i am stuck in changing the layout of the textfields so that they are next to each other. For now, I have editted user.module and added a new $delta value of 4 so the code above would work. But i am not sure what to do next. Is there a file where that i can edit to change the layout of textfields?