Jump to content

How to create a controller?


Watto

Recommended Posts

Hi everyone. I'm fighting with Prestashop and its code (because there isn't a good documentation). I'm trying to program a controller. Not a module. A CONTROLLER.

 

You know that in Doc section there are few tutorials but they are very basic. I need an advanced information about Prestashop and its API, and how to create controllers.

 

So, thank you for your responses and help.

 

Bye, Gerardo.

Link to comment
Share on other sites

to make a controller, first you need to know about how prestashop works, and to know it you have to fight the code, sorry for that :(

btw if you go through the frontcontrollercore class and start the entry with run method, you may know how it works and make a similar one by overriding the core.

 

hope it helps

Link to comment
Share on other sites

I'm programming a controller that search in Fotolia and shows the result, leting the user to choose an image an buy it.

 

I will try to create a Controller extending FrontControllerCore and I tell you if I success.

 

Thank you all.

Link to comment
Share on other sites

  • 1 month later...
  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...