Page 1 of 1

Accordion Category Menu (OC V1.5 upgrade)

Posted: Wed Jun 22, 2011 2:47 am
by Jacob
Since our upgrade to OC V1.5 we have not been able to edit Accordion Category Menu V1.1 in Admin/Module, we get this error:
Fatal error: Cannot access private property Document::$title in /home/londont/public_html/test-cart2/admin/controller/module/accordion_menu.php on line 8

I am not sure what this means, I tried changing the permissions on that file and folder but it did not help.

I Webworkshop website who made the addon and there it says it is compatable with the V1.5?

Thanks

Re: Accordion Category Menu (OC V1.5 upgrade)

Posted: Wed Jun 22, 2011 2:58 am
by celestial
Replace

$this->document->title = $this->language->get('heading_title');

With this
$this->document->setTitle($this->language->get('heading_title'));

Re: Accordion Category Menu (OC V1.5 upgrade)

Posted: Wed Jun 22, 2011 4:45 am
by Jacob
Thanks.

Looks like we have to wait for the Module to be updated before it works.? Says here that it is compatible:

http://opencart.webshopworks.com/accord ... ncart.html
Edit:
Webworkshop

should have said 'webshopworks'

Re: Accordion Category Menu (OC V1.5 upgrade)

Posted: Wed Jun 22, 2011 4:52 am
by celestial
in 1.4.9.5 work perfectly but is not compatible yet for OC v1.5

Edit: the demo is for 1.4x

Re: Accordion Category Menu (OC V1.5 upgrade)

Posted: Wed Jun 22, 2011 5:25 pm
by Jacob
?
Version Compatibility: v1.4.7, v1.4.8, v1.4.8b, v1.4.9.x, (v1.5.0.x)

Re: Accordion Category Menu (OC V1.5 upgrade)

Posted: Fri Jun 24, 2011 7:07 pm
by Jacob
Thanks to Celestial who fixed the extension to work with V1.5!

We would like to have the accordion module at the top of the page. The only way I know how to do this is by setting the module position to Column left and in the css use absolute positioning ...

Anyone know of a better way?

Re: Accordion Category Menu (OC V1.5 upgrade)

Posted: Tue Jul 12, 2011 1:06 am
by onlinephilately
How did you change it to work with v1.5?

Re: Accordion Category Menu (OC V1.5 upgrade)

Posted: Wed Jul 13, 2011 6:18 pm
by Jacob
You could try sending Celestial a PM, he did the fix.

Re: Accordion Category Menu (OC V1.5 upgrade)

Posted: Tue Oct 11, 2011 10:31 pm
by Arumaldo
Buenas, necesito una ayuda.

Instale el modulo y reemplace por los archivos que descargue del foro del fix de celestial, sin embargo cuando activo que muestre el conteo de los productos, la pagina me muestra el siguiente error.

Call to undefined method ModelCatalogProduct::getTotalProductsByCategoryId() in /home/content/33/3492533/html/librocafe/catalog/controller/module/accordion_menu.php on line 61

Fui a esa linea en el modulo y me encontre con
$subcats = $this->showcount==2?$this->model_catalog_product->getTotalProductsByCategoryId($cat['category_id']) : count($cts);

No soy experto en el tema por lo que te pido si no es mucha molestia me den una ayudita con esto.

Para que no me aparezca mas el error modifique el codigo a

$subcats = $this->showcount==2?$this->model_catalog_product->getTotalProducts($cat['category_id']) : count($cts);

pero eso solo quita el error y no soluciona el problema en si.

Les agradezco su ayuda.

Saludos,

Re: Accordion Category Menu (OC V1.5 upgrade)

Posted: Thu Mar 14, 2013 2:43 am
by kayp
I cannot figure out the install instructions and when I install, I get:

Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/content/24/6156924/html/wsnc12/vqmod/vqcache/vq2-catalog_controller_module_category.php on line 184

Any ideas or support from the author?

Kay