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.

Archive /

Our old forums are still available as a read-only archive.

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

Styles not included when in /Security/lostpassword/


Go to End


7 Posts   2481 Views

Avatar
dio5

Community Member, 501 Posts

26 September 2007 at 9:24am

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

Avatar
Sean

Forum Moderator, 922 Posts

29 September 2007 at 6:05pm

Edited: 29/09/2007 6:07pm

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

Avatar
Willr

Forum Moderator, 5523 Posts

29 September 2007 at 6:38pm

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!

Avatar
dio5

Community Member, 501 Posts

29 September 2007 at 8:40pm

Ok, thanks!

Keep me informed :-)

Avatar
Willr

Forum Moderator, 5523 Posts

30 September 2007 at 11:29am

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.

Avatar
dio5

Community Member, 501 Posts

30 September 2007 at 11:33am

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

:-)

Avatar
dio5

Community Member, 501 Posts

14 October 2007 at 5:29am

It turns out the in the lostpassword method of Security.php something is forgotten:

$controller->init();

Adding this makes it work...