Duplicate Profiles.success_Add

I am trying to create a dashboard for clients, so I can add their vendor store link, etc,

I was wondering if I can duplicate the profiles.success_add so I can change the succesful registration text, keep the original , but add a new profiles.success_add which I can customize.

I am trying to create a dashboard for clients, so I can add their vendor store link, etc,

I was wondering if I can duplicate the profiles.success_add so I can change the succesful registration text, keep the original , but add a new profiles.success_add which I can customize.

What I am asking is, if its possible to have two layout pages?

For example, have two different profiles.success_add so that I can make one look different than the other and have two separate links for them?

app/controllers/frontend/companies.php

replace:

$return_url = !empty(Tygh::$app['session']['apply_for_vendor']['return_url']) ? Tygh::$app['session']['apply_for_vendor']['return_url'] : fn_url(''); 

with

$return_url = 'companies.success_add'; 

add to the end of file:

if ($mode == 'success_add') {
if (empty($auth['user_id'])) {
    return array(CONTROLLER_STATUS_REDIRECT, 'companies.apply_for_vendor');
}

fn_add_breadcrumb(__('registration'));

}

Then copy the design/themes/THEME/templates/views/profiles/success_add.tpl file to to the following directory:

design/themes/THEME/templates/views/companies/

It should solve your problem