Customizing User "Account Settings" and "Edit Profile" page

Permalink 2 users found helpful
Hey all, I've been scouring the forums and haven't been able to find out exactly how to get this thing done.

I'd like to make it so that on the "Edit Profile" page for a user, the back button takes them to the site's homepage and not the account settings page. I've tried to make copies of the files and edit those and edit the core files - neither seems to do the trick.

I'd love some advice!

sethmartin
 
ramonleenders replied on at Permalink Reply
ramonleenders
Copy "concrete/single_pages/account/edit_profile.php" to "application/themes/your_theme_handle/account/edit_profile.php". Then make your edits and that should be it really. If you have a theme in a package, it goes to "packages/your_package_handle/themes/your_theme_handle/account/edit_profile.php"

I'm assuming you're on version 5.7.x here! Also be sure you remove cache, if you're caching pages.
sethmartin replied on at Permalink Reply
sethmartin
Hmm, I've moved the file accordingly and cleared cache... no changes unfortunately. Any idea what may be wrong?
hutman replied on at Permalink Best Answer Reply
hutman
I was able to make this work by copying the edit_profile.php from concrete/single_pages/account to application/single_pages/account and then clear the cache and the changes were there.

Otherwise, as @ramonleenders said put that file into your theme and then update the application/config/app.php to include

'theme_paths'         => array(
        '/account'          => 'THEME_NAME',
        '/account/*'        => 'THEME_NAME',
    ),
sethmartin replied on at Permalink Reply
sethmartin
I went back to the beginning and tried again with each method cleanly. Worked this time.
Thank you so much!
ramonleenders replied on at Permalink Reply
ramonleenders
Editing "application/config/app.php" should have been the key. I forgot to mention this. Glad it worked out for you!
sajidahsan replied on at Permalink Reply
I have done this the edit_profile working fine from theme folder. I have changed the layout of edit_profile but backend update functionality not work..when i submit the form it return
edit_profile/save but not edit_profile/save_complete