Post by Grzegorz » Wed Mar 28, 2018 7:18 pm

Hi guys, I'm trying to get way, how to include some $data from extension to all controllers, allowing for use it in to all tpl files.

Eg. I have extension where I have one text input, and I want have way to display content of input in to all .tpl files calling variable, without modyfing all controlers one by one.
Does someone ever tried do that, or have any solution?

Newbie

Posts

Joined
Wed Mar 28, 2018 6:56 pm

Post by straightlight » Thu Mar 29, 2018 1:49 am

Hi. As a new forum user, please read the most recent forum rules. No OC version posted. Although, you may want to try VQMod or the Override Engine extensions. Both can also work well together without the need to modify each controllers directly but rather from XML files or from an override controller file.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 6 guests