your mod works well, but unlike "MoreCategories", it list all
categories in catalog, instead of sub categories of actual category,
i.e. the category from where we load the page.
Any idea on this?
On Jun 27, 12:00 pm, "Phil --
wbtc.fr --" <
p...@wbtc.fr> wrote:
> Alex, thanks for this help, I'll give it a try !
>
> 2011/6/26 Alexander Obuhovich <
aik.b...@gmail.com>
>
>
>
> > Method getStructureTreeAsOptions in CategoryHelper class, located in
> > core/units/helpers/category_helper.php file:
>
> > Change from:
>
> > if ((defined('IS_INSTALL') && IS_INSTALL) *|| !$this->Application->isAdmin
> > *) {
> > // no need to create category structure during install
> > // OR on Front-End, because it's not used there
> > return Array ();
> > }
>
> > to:
>
> > if ((defined('IS_INSTALL') && IS_INSTALL)) {
> > // no need to create category structure during install
> > // OR on Front-End, because it's not used there
> > return Array ();
> > }
>
> > Part, marked with bold should be removed.
>
> > Of course you loose all changes after upgrade.
>
> > On Fri, Jun 24, 2011 at 12:09 AM, Phil --
wbtc.fr -- <
p...@wbtc.fr> wrote:
>
> >> it could be nice to post here in dev group, at least for me, and for all
> >> others who'd need it :)
>
> >> 2011/6/23 Alexander Obuhovich <
aik.b...@gmail.com>
>
> >>> And I even know where it is. Should I change it?
> >>> On Jun 23, 2011 11:44 PM, "Phil --
wbtc.fr --" <
p...@wbtc.fr> wrote:
> >>> > ah :) is there a single bit to change somewhere for achieving this?
>
> >>> > 2011/6/23 Alexander Obuhovich <
aik.b...@gmail.com>
>
> >>> >> Of course. Everything is possible via PHP class extending.
>
> >>> >> On Thu, Jun 23, 2011 at 10:00 PM, Phil --
wbtc.fr -- <
p...@wbtc.fr>
> >>> wrote:
>
> >>> >>> Is there a way to activate it, in event handler maybe?
>
> >>> >>> 2011/6/23 Alexander Obuhovich <
aik.b...@gmail.com>
>
> >>> >>>> Maybe we disabled that ParentId field for Front-end, since it
> >>> >>>> make additional sql to get that categories each time link is
> >>> accessed (even
> >>> >>>> on link detail page).
>