Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Admin login form disappeared...


Go to End


7 Posts   6454 Views

Avatar
Wojtek

Community Member, 149 Posts

6 January 2009 at 9:56pm

Edited: 06/01/2009 9:56pm

Hi,
I have a strange problem with the admin login form.
You can see it on http://dev.nbi.com.pl/admin . Yesterday everything was all right, today admin login doesn't show up. Any ideas on what may cause this problem?

Avatar
Wojtek

Community Member, 149 Posts

7 January 2009 at 5:09am

Nevermind, I figured it out.

Avatar
Foaly*

Community Member, 2 Posts

21 February 2009 at 11:34am

Can you please tell the rest of the world how you have solved your problem?

Avatar
Foaly*

Community Member, 2 Posts

21 February 2009 at 11:59am

After further time searching the problem I've found the problem in spite of his ignorance:
Not only the Variable $Content is needed, but also $Form at the same point in code.

Avatar
jovoo

Community Member, 12 Posts

9 October 2009 at 10:56pm

Thank you Foaly*! You solved my problem!!

Avatar
soft-systems

Community Member, 11 Posts

20 January 2010 at 5:12pm

Edited: 20/01/2010 5:13pm

Hi - can you let me know where you added the $form code please?

this is where my problem is occuring: http://www.miriamcdwyer.net/Security/login

I have just had this problem happen to me without doing anything, it just started happening, and im not sure where to find how to fix this. Thanks in advance :}

Avatar
JackOconnor

Community Member, 3 Posts

30 March 2016 at 10:30pm

I am maintaining an old site and I can confirm that this worked for me, thanks Foaly* these little things can be missed easily.

@soft-systems you can add this to your Page.ss file directly under 'templates'. I recommend adding this just under the $Layout variable.

<% if $Form %>
	$Form
<% end_if %>