I would like the user to be taken to the /payment/menu but I do not know what hook to use and where to use it. I'm assuming
<button type="submit" class="ui-button ui-button-middle ui-button-main"><?php if($edit) { _e("Update", 'bender'); } else { _e("Publish", 'bender'); } ?></button>
and/or this
$action = 'item_add_post';
$edit = false;
if(Params::getParam('action') == 'item_edit'){
$action = 'item_edit_post';
$edit = true;
in the item-post.php
or in Item.php
$this->doView('item-post.php');
break;
case 'item_add_post': //post_item
osc_csrf_check();
if( osc_reg_user_post() && $this->user == null ) {
osc_add_flash_warning_message( _m('Only registered users are allowed to post listings') );
$this->redirectTo( osc_base_url(true) );
}
I think it's the item.php in red, but I haven't figured out how to speak in OSClass yet?! osc_base_url = /payments/menu.php