I'm writing a custom installer for hodajuku distribution.
And I want to hook a page instead of insert one.
install/class/simplewizard.php has two methods for custom installer.
add() and insertAfter().
But I want a method named replaceAfter() like this:
[code]
function replaceAfter($after, $name, $title='', $next='', $next_btn='', $back='', $back_btn='', $reload='') {
if (!empty($this->_list[$after])) {
$this->_list[$name]['title'] = $title;
$this->_list[$name]['next'] = $next;
$this->_list[$name]['next_btn'] = $next_btn;
$this->_list[$after]['next'] = $name;
$this->_list[$after]['next_btn'] = $title;
$this->_list[$name]['back'] = $back;
$this->_list[$name]['back_btn'] = $back_btn;
$this->_list[$name]['reload'] = $reload;
}
}
[/code]
Logged In: YES
user_id=1102607
Originator: NO
I don't know a detail of the installer mechanism including SimpleWizard, so I will check it at the beginning.
Because this patch doesn't give any troubles to other parts, I think 'patching right now' is no problem.
Logged In: YES
user_id=1270173
Originator: NO
> Because this patch doesn't give any troubles to other parts, I think
> 'patching right now' is no problem.
I agree with minahito, and I think GIJOE's patch may be useful for a Custom Distribution from Third party.
So I'll add this patch into CVS
Logged In: YES
user_id=1270173
Originator: NO
I added replaceAfter method into SimpleWizardSequence