Post by gustvao » Thu Oct 13, 2011 7:22 am

Team-

Code: Select all

<modification>
	<id>Quick Product Info</id>
	<version>1.0.0</version>
	<vqmver>2.1.2</vqmver>
	<author>test</author>
	<file name="catalog/view/theme/*/template/module/featured_content.tpl">
		<operation>
			<search position="before"><![CDATA[<h2 class="s_title_1"><?php echo $heading_title; ?></h2>]]></search>
			<add><![CDATA[<h1>TEST</h1>]]]></add>
		</operation>
	</file>
</modification>
This simple sintax is not working and I dont know why. Tried to use it in a different file and it worked i.e. featured.tpl. No log error and no file is generated in vqcache..

Could you pls help me?

Is this a bug or I am not using it properly?

Tks

Newbie

Posts

Joined
Thu Oct 13, 2011 3:19 am

Post by uksitebuilder » Thu Oct 13, 2011 7:31 am

Unless my iphone is playing tricks on me, you have too many closing braces at the end of your 'add' statement

You have no closing search tag and no closing add tag

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by gustvao » Thu Oct 13, 2011 7:44 am

Tks for your reply, uksitebuilder... it was a typo the 3 brackets at the end of the <ADD> tag. My code has indeed only 2, I also do have closing tags for search and add..

I would say this has something to do with the new hierarchic of featured.tpl no? inside featured.tpl there's an include for featured_content.tpl and featured_column.tpl, vQmod works perfectly for featured.tpl but doesn't for _content and _column.

Any other ideas?

Newbie

Posts

Joined
Thu Oct 13, 2011 3:19 am

Post by gustvao » Sat Oct 15, 2011 7:55 am

Hi, I would like to report this issue as a bug, could some one take a look at this please?

tks vm

Newbie

Posts

Joined
Thu Oct 13, 2011 3:19 am

Post by uksitebuilder » Sat Oct 15, 2011 5:54 pm

The thing is, there is no such file called featured_content.tpl in the default OC

So if this is a module you have installed, you will need to seek assistance from the module developer.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by gustvao » Sat Oct 15, 2011 9:42 pm

Np. Tks

Newbie

Posts

Joined
Thu Oct 13, 2011 3:19 am

Post by rukhairy » Thu Mar 29, 2012 8:39 am

gustvao wrote:Team-

Code: Select all

<modification>
	<id>Quick Product Info</id>
	<version>1.0.0</version>
	<vqmver>2.1.2</vqmver>
	<author>test</author>
	<file name="catalog/view/theme/*/template/module/featured_content.tpl">
		<operation>
			<search position="before"><![CDATA[<h2 class="s_title_1"><?php echo $heading_title; ?></h2>]]></search>
			<add><![CDATA[<h1>TEST</h1>]]]></add>
		</operation>
	</file>
</modification>
This simple sintax is not working and I dont know why. Tried to use it in a different file and it worked i.e. featured.tpl. No log error and no file is generated in vqcache..

Could you pls help me?

Is this a bug or I am not using it properly?

Tks
It happen to me as well. It's kinda funny that someone has already encounter this and still those files cannot be edited until now...

By the way, *_content is the files from Shoppica Theme.

Newbie

Posts

Joined
Tue Jun 07, 2011 1:21 am

Post by Qphoria » Thu Mar 29, 2012 10:10 am

Ah..Shoppica... that would explain it.
Shoppica uses its own include design instead of opencart's so things don't always work out of the box.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 3 guests