Add new button in edit profile page

Hi, I want to add a new button in the BxDolProfileFields.php and I find this code:

// add submit button
$aInputs[] = array(
'type' => 'submit',
'name' => 'do_save',
'value' => _t( '_Save' ),
'colspan' => false,
);

What should I do if I want to make the new button has a function to redirect to another page?

Thanks,

Quote · 3 Nov 2010

Have you been here?  http://www.yoursite.com/administration/fields.php

Screenshot-42.png · 153.7K · 130 views
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 3 Nov 2010

Actually what I want is to add a new button in the pedit.php, not using page builder, so I have to make the button in the BxDolProfileFields.php right? I've added new lines like this:

$aInputs[] = array(
'type' => 'button',
'name' => 'do_skip',
'value' => 'Skip',
'onclick' => 'member.php',
'colspan' => false,
);

The button appears but still do nothing, what should I do with the new function I made (do_skip) ?

Thanks,

Quote · 4 Nov 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.