Post by boldidear » Thu May 29, 2014 10:36 am

hello.

can you help me making simple vqmod?

what i am trying to do is i want to add extra code on header.tpl file

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<modification>
        <id>menu custom link</id>
        <version>1.00</version>
        <vqmver>2.3.0</vqmver>
        <author>john</author>
        <file name="catalog/view/theme/*/template/common/header.tpl">
                <operation error="skip">
                        <search position="before"><![CDATA[
      </ul>
</div>
						]]></search>
                        <add><![CDATA[
<li><a href="http://issuu.com/hanjuinc/docs/hanju-2014-catalog" target="_blank">Catalog 2014</a></li>
                        ]]></add>
                </operation>
        </file>
</modification>

but it didn't work.

can anybody help me, please~~~~

New member

Posts

Joined
Thu Dec 06, 2012 9:56 am

Post by NoJoke » Thu May 29, 2014 11:56 am

Try this one :

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<modification>
        <id>menu custom link</id>
        <version>1.00</version>
        <vqmver>2.3.0</vqmver>
        <author>john</author>
        <file name="catalog/view/theme/*/template/common/header.tpl">
                <operation error="skip">
                        <search position="before"><![CDATA[
      </ul>
						]]></search>
                        <add><![CDATA[


<li><a href="http://issuu.com/hanjuinc/docs/hanju-2014-catalog" target="_blank">Catalog 2014</a></li>


                        ]]></add>
                </operation>
        </file>
</modification>

Active Member

Posts

Joined
Fri Oct 14, 2011 5:37 am

Post by boldidear » Thu May 29, 2014 12:05 pm

it is working.... i found the error.
i had same link name, that's why.


thank you for your hlep

New member

Posts

Joined
Thu Dec 06, 2012 9:56 am

Post by pprmkr » Thu May 29, 2014 12:12 pm

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<modification>
	<id>menu custom link</id>
	<version>1.00</version>
	<vqmver>2.3.0</vqmver>
	<author>john</author>
	
	<file name="catalog/view/theme/*/template/common/header.tpl">
		<operation error="skip">
			<search position="before" index="2"><![CDATA[</ul>]]></search>
			<add><![CDATA[    <li><a href="http://issuu.com/hanjuinc/docs/hanju-2014-catalog" target="_blank">Catalog 2014</a></li>]]></add>
		</operation>
	</file>
	
</modification>

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by boldidear » Thu May 29, 2014 12:20 pm

wait~~~

i still having error.

if i use just one </ul>

two link come out.

if i use "pprmkr" code, nothing come out.

help me~~~~

New member

Posts

Joined
Thu Dec 06, 2012 9:56 am
Who is online

Users browsing this forum: Baidu [Spider] and 148 guests