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.

Archive

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

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

Styles not included when in /Security/lostpassword/


Reply

7 Posts   1808 Views

Avatar
dio5

26 September 2007 at 9:24am Community Member, 501 Posts

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

29 September 2007 at 6:05pm (Last edited: 29 September 2007 6:07pm), Forum Moderator, 921 Posts

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

29 September 2007 at 6:38pm Forum Moderator, 5511 Posts

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

29 September 2007 at 8:40pm Community Member, 501 Posts

Ok, thanks!

Keep me informed :-)

Avatar
Willr

30 September 2007 at 11:29am Forum Moderator, 5511 Posts

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

30 September 2007 at 11:33am Community Member, 501 Posts

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

14 October 2007 at 5:29am Community Member, 501 Posts

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

$controller->init();

Adding this makes it work...