polaije Posted October 28, 2017 Share Posted October 28, 2017 (edited) Hello, I am new in module developement but I follow the documentation to get a new module to work with a render form. I can just display one textbox in the display form and I need to add a selection of categories. I found this code that works perfectly but without saving the selected values. public function getContent() { $categoryTree = new HelperTreeCategories('categories-tree', $this->l('Check the category to display the link')); $categoryTree->setUseCheckBox(1); return $categoryTree.$this->displayForm(); } How can I submit this form to retrieve the selected categories ? Thanks in advance helping me, Jean Edited October 28, 2017 by polaije (see edit history) Link to comment Share on other sites More sharing options...
polaije Posted October 29, 2017 Author Share Posted October 29, 2017 I forgot to say that I am in PS 1.7 but my module is using the old 1.4 structure without render form. The result on the form is what I expect (see jpg attached) but now I want to retrieve the selected categories. How is the $categoryTree structured ? Jean 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