Hi Joscha, Yes, technically category parent id and sorting information is not needed for nested set functionality, so this information is redundant and is probably never used when building the tree and selecting categories. However it could be used for more simple data import. It is easier to define child-parent relation over parent id field in 3rd party system and then import it to eShop. Parent id is also useful in cases when nested set values are screwed for some reason and you need to rebuild the tree completely.
Regards Tomas Liubinas From: [email protected] [mailto:[email protected]] On Behalf Of Joscha Krug | marmalade.de Sent: Monday, July 16, 2012 9:45 PM To: [email protected] Subject: Re: [oxid-dev-general] Nested Sets and OXSORT Ok, seems like OXID is NOT using nested sets?! The question is more like: Why do we have left+right although we use ParentID and Sorting? Isn't that a bit too redundant? Regards, Joscha //--------- marmalade.de Joscha Krug www.marmalade.de<http://www.marmalade.de/> [email protected]<mailto:[email protected]> Leibnizstr.25 39104 Magdeburg GERMANY phone: +49 (0) 391 / 559 22 104 fax: +49 (0) 391 / 559 22 106 OXMOB | mobile Template<http://www.oxmob.de/?pk_campaign=OXMOB%20%7C%20E-Mail-Link&pk_kwd=normalEmail> Das einfach geniale OXID eShop Modul. Ab sofort in unserem Online-Shop<http://www.marmalade.de/shop/Templates/OXMOB-OXID-eShop-mobile-Template.html?pk_campaign=OXMOB%20%7C%20E-Mail-Link&pk_kwd=normalEmail> erhältlich. Am 16.07.2012 19:31, schrieb Björn Lange: Hi All, 2012/7/16 Frank Zunderer <[email protected]<mailto:[email protected]>> i think nested sets are not used for building the categorytree, it’s built from id/parentid. And the sorting becomes easier, because every category with oxparent = 'oxrootid' has oxleft=1 at the moment. Regards, Björn -- _________________________________ WBL Konzept, Beerden & Lange GbR Björn Lange Geschäftsführender Gesellschafter Luxemburger Straße 266 50937 Köln Bilker Straße 34 40213 Düsseldorf Telefon: 0211 942 120 30 | Fax: 0211 192 120 32 www.wbl-konzept.de<http://www.wbl-konzept.de/> | www.facebook.com/wbl.konzept<http://www.facebook.com/wbl.konzept> | [email protected]<mailto:[email protected]> _______________________________________________ dev-general mailing list [email protected]<mailto:[email protected]> http://dir.gmane.org/gmane.comp.php.oxid.general
_______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
