Closed (fixed)
Project:
Front Page
Version:
4.7.x-4.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
13 Feb 2007 at 23:07 UTC
Updated:
9 Mar 2011 at 01:50 UTC
I've figured out how to include a view but having difficulty working out how to include my user login block on the front page. Any hints?
Comments
Comment #1
dublin drupaller commentedNot quite sure what you mean...
If you go to blocks -> enable the login block and then configure the login block to appear on the 'front_page' only. that should do it for you.
To make the login block appear in the "centre" column, instead of in the left-side/right-side blocks...you can try something along these lines: http://drupal.org/node/64364
Dub
Comment #2
adub commentedI probably should have mentioned that I'm using the 'full' setting on front_page to have a completely different layout. I need a snippet to include a block basically. In my template page.tpl.php that would look something like:
but this doesn't work for front_page...
Comment #3
dublin drupaller commented2 alternatives:
1/ try thePlacing the contents of a block in any location handbook page.
2/ If you're familiar with template.php and tpl.php layout files, I you could try this alternative method of customising your front page..
HANDBOOK >> php template snippets >>customising full page layouts (scroll down for the front page switcher.
Hope that helps
Dub
Comment #4
adub commented1. doesn't work. I'll try 2. but does that mean I'm hitting a limitation of front_page module? Not being critical, just curious - should I maybe be declaring some global vars or writing wrappers in template.php for these kind of snippets to work properly in front_page?
Comment #5
adub commentedoops my bad. 1. does work after all. The block name is 'user' if anyone else is trying this.
Comment #6
dublin drupaller commentedglad you got it sorted.
Dub
Comment #7
(not verified) commentedComment #8
gorgo commentedNot working for me...
Isn't there a way to actually include regions so that when I set up blocks to appear in certain regions they work with the code I place in front_page?
I also tried
print $mission;to get the site's mission on the page but that didn't work for me either....Comment #9
timhilliard commentedClosing this as Drupal 4 is no longer supported.