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.128 seconds

This is what you call a component builder. I was able to master using this in a very short time and the resulting component works like a charm. Not just a basic component builder but a fully working component builder with forms fields tables all ready to go. You can make the list and item views to display in the front and back end. Also there is a great forum just starting to evolve and I'm sure this will grow very rapidly when you all realise how good this tool is.
Kevin (JED)

         

Get Started