Post by e.user » Wed Jun 21, 2017 2:06 pm

Hi,
I create the custom tpl in information that contain custom form ,i want to load send.php in action of form in tpl, how can i do it???

Newbie

Posts

Joined
Sun Aug 28, 2016 2:37 pm

Post by straightlight » Fri Sep 29, 2017 8:01 pm

Opencart v3.x no longer supports TPL files as it now supports the TWIG files which no longer supports / requires PHP calls from the template files.

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

Post by kestas » Fri Sep 29, 2017 8:42 pm

What version of OC? If version 3.x.. no support tpl files. In older OC versions you can simply insert php code using <?php /*someyour code */ ?> thats all.

Custom OpenCart modules and solutions. Just PM me... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by straightlight » Wed Dec 20, 2017 12:08 am

You can use the Template Switcher extension: https://www.opencart.com/index.php?rout ... n_id=31589

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: Google [Bot] and 7 guests