17452 Posts in 4473 Topics by 1971 members
|Go to End|
22 November 2008 at 12:03pm Last edited: 22 November 2008 12:03pm
I am working my way through Tutorial 2 and in mid session I find that I can no longer go into design mode. When enter http://localhost:3000/silverstripe/admin (which has always worked previously) it now comes up with the Log in screen but there is no input box to allow the entering of the username and password. The part I was working on in Tutorial 2 was the automatic adding of the comment facility to every ArticlePage.
Help would really be appreciated
22 November 2008 at 12:51pm
Do the tabs (Email and OpenID) still show?
I was having the same problem (I think), the html was there but both the Email and OpenID forms were hidden.
I put up with it for a while and just used Firebug to display the form I wanted, then I deleted the OpenID module and that seemed to fix it.
22 November 2008 at 3:05pm
Make sure that you have the $Form variable in your template - this is used by SilverStripe to render the log-in form, contact forms etc.
22 November 2008 at 4:56pm
I am new to this work and am finding the folder structure very confusing.
Which templates located in which folders do I need to check to make sure $Form is there?
22 November 2008 at 7:55pm
$Form needs to be located in your Page.ss file, usually located in templates/Layout for your current theme.
The main Page.ss template should contain $Layout, as the blackcandy theme does. That template is found in the root templates/ directory.
To see the template structure as an example, use the blackcandy theme for reference.
1 December 2008 at 3:37pm
Thanks for all your help. My apologies for the delay in replying. Although none of your suggestions directly appeared to make a difference the problem suddenly disappeared and the system went back to working normally. The only event that happened in this period was that there was a power outage that took down my PC.
|Go to Top|