Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

function applyRedirection 08 Oct 2013 09:18 #11330

protected function applyRedirection

I would add also the case "home":
		switch($redirection)
		{
			//Stay on the same page
			case 'stay':
				$this->setRedirect(JshopHelper::urlRequest());
				return;
				break;
		
		/* hack */
			//Return to the homepage
			case 'home':
				$this->setRedirect('index.php');
				return;
				break;
		/* hack */
			//Return to the previous page in navigation history
			case 'previous':
				//TODO
				break;
		}

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.050 seconds

The j-cook project is indeed one of the best tools I've run across for building Joomla components and the beta version should make things even better!

dyoungers (Forum)  

Get Started