Custom login.php Not Wrapped In Theme - Why?

Permalink 1 user found helpful
Okay, I thought I understood this, but I'm completely baffled right now. To customize my login page, I copied login.php from "concrete/single_pages" to "/single_pages" and made my changes. The changes are reflected in the page when I visit it. However, what's confusing me is that it's not wrapped in my theme, and I don't understand why. I've read and re-read the docs about single pages, and as far as I can tell, this should work. The docs clearly state, "Single pages are wrapped by the 'view.php' template for the current theme."

That's not happening for me. What am I missing?

Thanks,

-Steve

Shotster
 
Shotster replied on at Permalink Reply
Shotster
I found the answer here...

http://www.concrete5.org/community/forums/themes/theming_loginregis...

Two things:

1) Why do we have to jump through this additional hoop just to theme certain single pages?

2) This should be mentioned in the documentation under "Single Pages" - especially since login.php is specifically mentioned several times and cited as an example; yet if you follow exactly what's described there, it doesn't work.

-Steve
ScottC replied on at Permalink Best Answer Reply
ScottC
edit: seems you found your answer.
_____
check out config/site_theme_paths.php

then you see setThemePath('login','theme'); which wraps your login page with your specified theme handle and thus specified theme handles view.php