News:

AbanteCart v1.4.2 is released.

Main Menu
support

HOw to attach controller to block

Started by Sam_78, February 14, 2017, 11:46:29 AM

Previous topic - Next topic

Sam_78

I was making some changes in Category block and by mistake I lost the connection of controller. Now if I look at category block I see blank in "controller: " how do I attach controller there???

abolabo

do you mean column "controller" of the database table "blocks" ?
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Sam_78

Yes...


I have placed my block at the location I want in my layout and edited category_top.tpl but I did some mistake and now in controller it shows blank   means no controller is attached to that block which is "category block"

Sam_78

In DB table Block I see the controller but when I go through admin panel into blocks I don't see it

abolabo

Quote from: Sam_78 on February 14, 2017, 01:18:24 PM
In DB table Block I see the controller but when I go through admin panel into blocks I don't see it

i think you should to check relations of the tables "blocks" and "block_templates" for your block.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -