I have this Code in an upload request. Upon completion I want to Re-direct to a specific link How would I write that in here??? $this->_debugoutput .= JText::_('JGS_ALERT_PICTURE_SUCCESSFULLY_ADDED') . '<br />'; $this->_debugoutput .= JText::sprintf('JGS_NEW_FILENAME', $newfilename) . '<br /><br />'; $this->_mainframe->triggerEvent('onAfterJoomUpload', array($row)); } } else { $this->_debugoutput .= JText::_('JGS_ALERT_INVALID_IMAGE_TYPE'); continue; } } echo $this->_debugoutput; JHTML::addIncludePath(JPATH_COMPONENT.DS.'helpers'.DS.'html'); Code (markup):
Try this: PHP code: $this->_debugoutput .= JText::_('JGS_ALERT_PICTURE_SUCCESSFULLY_ADDED') . '<br />'; $this->_debugoutput .= JText::sprintf('JGS_NEW_FILENAME', $newfilename) . '<br /><br />'; $this->_mainframe->triggerEvent('onAfterJoomUpload', array($row)); [COLOR="blue"]header("Location: http://www.yoursite.com/folder/file.php");[/COLOR] } } else { $this->_debugoutput .= JText::_('JGS_ALERT_INVALID_IMAGE_TYPE'); continue; } } echo $this->_debugoutput; JHTML::addIncludePath(JPATH_COMPONENT.DS.'helpers'.DS.'html'); Code (markup):