Jessica Valle Posted April 7, 2017 Share Posted April 7, 2017 Hi everybody! I'm doing a simple module (the name is "Tiendas"): on the front page has a form where the customer can send and ask a question. I have created the tables in the database, the class, the front controller, and admin controller.... and it works propertly. Now I'm developing the admin controller. I have created the $this->fields_list = array(); in the public function __construct() { }, and also the public function renderView(). So now I can see the filter form (I attach the image): But the filter doesn't work I have found a example with the function: public function getList($id_lang, $order_by = null, $order_way = null, $start = 0, $limit = null, $id_lang_shop = false) I have created the getList function, created the SQL manually in another function on the class; and it works, but not 100%. The button "resetfilter" doesn't appears, the pagination doesn't work... I have looked in others AdminControllers (for example: AdminCurrencyController). And I didn't find a function develop for the filtering (it looks like it works by default). So I have to develop a getList function or there is a way to put it by default (like AdminCurrencyController)? Where can I found information about develop this? Something like a example will be great! I'm sorry for the english, I hope you can understand. Thanks a lots! Link to comment Share on other sites More sharing options...
Jessica Valle Posted April 10, 2017 Author Share Posted April 10, 2017 Anybody? Even a link to another post? Link to comment Share on other sites More sharing options...
partiid Posted January 23, 2023 Share Posted January 23, 2023 Hello, i know this is an old topic, but if you found a solution i would higly appraciate it. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now