When I go to /Security/lostpassword/ I don't see any of the styles included in the pagesource, but when I go to /Security/login/ they are there.
Any ideas what might be causing this?
I'm in SS 2.1.0 rc1
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
When I go to /Security/lostpassword/ I don't see any of the styles included in the pagesource, but when I go to /Security/login/ they are there.
Any ideas what might be causing this?
I'm in SS 2.1.0 rc1
Have the stylesheets not been included when going there?
I do vaguely remember someone was changing something around with default styles, including stylesheets on Page.php, or something with the new release candidates.
@Andy, any ideas?
Sean
dio5, I never noticed it but yes I have the same problem - http://willr.co.nz/Security/lostpassword . Styles sheets in 2.1 are now called via Requirements::themedCSS('stylesheet'). Maybe on Security/Lostpassword it doesn't load the Requirements just the CSS ones as the Javascript files are included. I'll go bug andy about this and see if this is fixed (Im using rc2) or is a new bug nobodys seemed to pick up!
Ok, thanks!
Keep me informed :-)
Alright talking to andy last night he doesn't think this will be fixed for 2.1 and will probably make the next release instead, If you want to have a look into the code and debug the problem yourself that would be awesome! im sure this problem will be brought up again sooner or later.
Mm...
I guess I'll probably do that or make my own password recovery thing.. it all depends on what will be finished first: my site or SS 2.2
:-)
It turns out the in the lostpassword method of Security.php something is forgotten:
$controller->init();
Adding this makes it work...