Hi there,
I have this issue.
I´m trying to modify some file information but it is included "on the fly" in file template. Like this:
my xml vqmod script search on file search.tpl above
<file name="catalog/view/theme/*/template/product/search.tpl">
but inside this file has a include like this:
<?php include('catalog/view/theme/'.$this->config->get('config_template').'/template/new_elements/product.tpl'); ?>
how to treat this file product.tpl ?
thnks.
Create a specific file operation for it:
Or add it to the existing one:
Since there's a wildcard in the path vQmod won't throw errors if the file doesn't exist. If you were using the full path you may want to add error skipping to handle stores where the theme isn't present:
Code: Select all
<file name="catalog/view/theme/*/template/new_elements/product/search.tpl">
Code: Select all
<file path="catalog/view/theme/*/template/" name="product/search.tpl,new_elements/product/search.tpl">
Code: Select all
<file name="catalog/view/theme/custom_theme/template/new_elements/product/search.tpl" error="skip">
-Ryan
Who is online
Users browsing this forum: No registered users and 2 guests