Jump to content

vhs666

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Location
    Guatemala
  • Activity
    Developer

vhs666's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. hello again, I was able to insert the category-tree code to my controller, I inserted this code: array( 'type' => 'categories', 'label' => $this->l('Parent category'), 'name' => 'id_parent', 'tree' => array( 'id' => 'categories-tree', 'selected_categories' => $selected_categories, ) ), and it showed me this: okey, but it is showing the categories that I already created in the category menu, but how it gets that information from the category table?.. I've deleted the lines 'tree' => array( 'id' => 'categories-tree', 'selected_categories' => $selected_categories, just to see what happens. and it is still showing the information, I think it i for the type = 'categories'.. can you help me? where this 'categories' type is defined?
  2. what I am trying to do is a new Menu to create Menus, It is actually for a movil app, and one of the tables is the Menu_item with fields like: label, href, icon and id_parent. so the purpose is create menus in the app. you as a user will be allowed to create your own menus and display the content,but it has to be with that logic of parents and children. at the end the user will create a menu and it can has more menus inside with different content
  3. Hello, I am new in prestashop and actually I am developing an application which should add menus as the category section does. I have a table called Menu_item, it should add children and parents. for Example: -Menu root - menu 1 -menu1.1 -menu1.2 -menu 2 -menu2.1 -menu2.1.1 but it is a bit difficult to understand that part in the category code, can you please help me? :S
×
×
  • Create New...