so, i spent the better part of the day hardcoding what should have been a simple drag and drop vqmod.
For anyone just getting into theming, please keep in mind that if a tpl file loads any other tpl (not sure about other file types) using a php include, you will break vqmods ability to load and alter that page.
just putting it out there
php include, require, include_once or require_once are not compatible with vqmod regardless of whether it is a tpl or php or any other file type.
Not true, based on Qphoria's post here:uksitebuilder wrote:php include, require, include_once or require_once are not compatible with vqmod regardless of whether it is a tpl or php or any other file type.
http://forum.opencart.com/viewtopic.php?f=21&t=42461
correctJohnathan wrote:Not true, based on Qphoria's post here:uksitebuilder wrote:php include, require, include_once or require_once are not compatible with vqmod regardless of whether it is a tpl or php or any other file type.
http://forum.opencart.com/viewtopic.php?f=21&t=42461
Tho once the full path is correct, you will likely need to add a line to your vqmod script to convert it to a vqmod line.
In the example from the link
Code: Select all
require 'catalog/view/theme/<themename>/template/product/product_options.tpl'
Code: Select all
require($vqmod->modCheck('catalog/view/theme/<themename>/template/product/product_options.tpl'));
Who is online
Users browsing this forum: No registered users and 16 guests