Start of the end

otherprod
otherprod
  • otherprod
  • 13 months ago
oki now i get the val of action by passing it in the list.php line 132 in aapprove directory

<a class="btn_publish" href="<?php echo JRoute::_('index.php?option='.APP_NAME.'&view=aapproval&task=approve&cid='.$answer->id.'&action=2');?>" onclick="return false;" title="<?php echo JText::_('MSG_CLICK_PUBLISH');?>">


and in list.php at line 90 in the approve directory

$publishUrl = JRoute::_( 'index.php?option='.APP_NAME.'&view=approval&action=1&task=publish&cid[]='. $row->id );


after that i added in the StreamActivity function in helper.php file the following line:

 $action = JRequest::getVar('action', '', '', 'int');


now left to select the good user for those two cases

Access to viewing replies is restricted.
Showing 1 of 1 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai