Jump to content

Custom Controller Or Module? Help!


roroPrestashop

Recommended Posts

Hi Everyone,

 

My goal is to create a a section on the site the displays team members of the store. I will need to create a page in the backend that will allow me to add, remove and edit members. Each member will include a name, a position, a block of text and an image.

 

I've tried modules and also controllers. I think that a controller will be better because I can add it to the side menu for easy access to editing. So I tried to duplicate the "StoreController" but am still missing so much knowledge.

 

Can anyone help me understand how to do this or to point me to a good tutorial? I've been trying to understand the way the controller class works and there is no documentation out there (accessing a table in the DB, saving, etc) !

 

I've have been pulling my hair out trying to find tutorials and examples and to be honest, are really hard to find!

 

Any help will be greatly appreciated!

 

Link to comment
Share on other sites

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