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.259 seconds
Great UX great performance and definitely a time saver. It only took me 10 minutes of playing around before purchasing a subscription and right now I just want to throw more money at you! I just started a new project and after just 4h I can already tell it probably saved me several days of work. I'm building a wholesale ordering system with sales rep management. I have not looked at the code yet but so far: impressive.
flip (Forum)

Get Started