Overriding Single Pages Not Working1 user found helpful
I'm pulling my hair out over this. I'm trying to override the members page and am having zero luck. From all my reading, it looks like it is as simple as copying members.php page from concrete/single_pages/ and placing it in single_pages/, but no luck.
Am I way off target here? I swear I did this previously and it worked.
Thanks in advance!
I cleared my browser cache, as well as tried several other browsers and no luck.
maybe try out of the singles folder
*note just don't override the actual core file
for testing purposes you could however make a back-up of the file and then copy and paste the file to see if it changes, but then put it back any core files are change to default every update - unless there in a safe override area outside of the core.
kinda stumped if it says its in environment
I (stupidly) forget to mention that this is occurring while running the website locally. I decided to modify the one on the actual server and it works fine.
Why would it not behave properly on my local machine? I'm running a LAMP stack, but likely don't have all the variables configured properly.
I'm also having the same problem for single_pages/account - I've overridden a lot of other files with ease including the register page, the member profile page...but for some reason I cannot get member or account to work.
This is something I've done successfully with the login and 404 pages.
This is the code that is commented out on that page:
/* you can override system layouts here - but we're not going to by default For example: if you would like to theme your login page with the Green Salad theme, you would uncomment the lines below and change the second argument of setThemeByPath to be the handle of the the Green Salad theme "greensalad" */ /* $v = View::getInstance(); $v->setThemeByPath('/login', "yourtheme"); $v->setThemeByPath('/page_forbidden', "yourtheme"); $v->setThemeByPath('/register', "yourtheme"); */