Layout for members/edit/profile

    • 11 posts
    March 23, 2018 10:42 AM EDT


    I cant find the pages for 

    • members/edit/profile
    • members/edit/photo

    in the Layout Editor.


    Can someone help me out and tell me their name in the dropdown list?

    Thanks in advance.

    • 7 posts
    March 23, 2018 1:28 PM EDT

    There are no pages for the above pages in layout editor. The above pages are hard coded from the code.

    If you want change any thing else then you can access below file path:

    Path: /application/modules/User/views/scripts/edit/profile.tpl



    Path: /application/modules/User/views/scripts/edit/photo.tpl

    • 11 posts
    March 27, 2018 4:04 AM EDT



    I just wanted to explain how we managed to include the edit profile / photo page to layout editor page just in case anybody here wants to do the same:

    • Create a new Page in the layout editor and place the "content" widget where you need the edit content
    • Set "name" for this page in core_pages table to "user_edit_profile" respectively "user_edit_photo"
    • insert  $this->_helper->content->setEnabled();‚Äč  to the profileAction or photoAction of the User EditController


    Here we go, that's it.

    This post was edited by b2bcadenas at March 27, 2018 4:05 AM EDT
    • Moderator
    • 6923 posts
    March 27, 2018 4:48 AM EDT

    Thanks for the details! I'm sure it'll help others.