Closed (works as designed)
Project:
Front Page
Version:
7.x-2.0-rc1
Component:
Feature Request
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
23 Jan 2010 at 22:57 UTC
Updated:
16 Oct 2011 at 19:22 UTC
Hi,
i want to create a front page for anonymous users. The page will contain a flash slide show and login form in Full Front page, not themed. I created it like this;
print drupal_get_form('user_login');
But login form doesnt work (not submit form), if i change themed front page, it works. How can i use login form in my full front page.
Thanks,
Comments
Comment #1
dublin drupaller commentedworks fine for me. Make sure you select the ALLOW EMBEDDED PHP option.
open this back up if you're still having problems.
Comment #2
mrpauldriver commentedI am trying to achieve this with Drupal 7.
Is the php code different in 7?
EDIT
------
I managed to hack something together using the instructions found here http://drupal.org/node/1230136.
It begs the question of whether this very useful module should have an option to include a standard login block.
Comment #3
mrpauldriver commentedComment #4
timhilliard commentedHi Paul,
In the Drupal 7 version we have taken the checkbox away that enables PHP in favour of using the Drupal filters system. To enable this block of PHP you will need to create a filter type that allows PHP execution and then use that on the field.
Let me know if you need more informaiton.
Thanks,
Tim