I would like to display the setting.php and the profil.php in the dashboard.php so the user can edit their personal informations and settings in one page . How can I do that?
I included following code in the dashboard.php <?php
bp_get_template_part( 'members/single/settings/notifications' );
?>
The Problem: When I save the changes in the dashboard-page, I get redirected to the settings.page. How can I get redirected to the dashboard page instead?
Well I am sorry that would not be possible due to Buddypress architecture .
Buddypress redirects at the template_redirect hook which runs even before loading the different templates which are registered in Buddypress .