thesilentman VIP
Total posts: 33
06 Окт 2015 16:12

Is there an easy way to import categories(including nested ones) in Cobalt or through some extension? If not, I'll quickly write my own importer.

Thanks

Последние изменения: 07 Окт 2015


Sergey
Total posts: 13,748
07 Окт 2015 11:00

I think you have to write your own. Because you have to use JTableNested instance. SO CobaltTableCobCategory extends that one, so you can only pass parent_id and lft and rgt will be set acordingly. parent_id for first level categories have to be 1.


thesilentman VIP
Total posts: 33
07 Окт 2015 12:15

OK and thanks Sergey for the hints.

Работает на Cobalt