Post by DannyM » Thu Dec 04, 2014 4:01 pm

Hi

OC 2.0.1.0
I have very simple code

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<modification>
<name>Name</name>
<version>1.0</version>
<author>Author</author>
<link>http://link.here</link>

<file path="admin/model/catalog/category.php">
        <operation>
            <search><![CDATA[
            'meta_description' => $result['meta_description'],
            ]]></search>
            <add position="after"><![CDATA[
            'radar'      	   => $result['extra'],
            ]]></add>
        </operation>
</file>

</modification>
no error in log, no any notification, nothing
anybody know why?

✯ Professional OpenCart Support [UK-based] ✯
https://opencart.tipshttps://opencart.com.plhttps://facebook.com/opencarttips ✯ Live-chat: http://pixly.me/livechat


User avatar
Active Member

Posts

Joined
Sun Jan 03, 2010 4:23 am
Location - Bournemouth, UK

Post by pprmkr » Thu Dec 04, 2014 4:09 pm

You should get at least 2 errors:

Illigal character at first line
Missing unique code

Remove spaces before:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
Add after <name></name>

Code: Select all

<code>your_unique_modification_code_or_name</code>

User avatar
Active Member

Posts

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

Post by DannyM » Thu Dec 04, 2014 4:46 pm

pprmkr wrote:You should get at least 2 errors:

Illigal character at first line
Missing unique code

Remove spaces before:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
I have no spaces before
pprmkr wrote: Add after <name></name>

Code: Select all

<code>your_unique_modification_code_or_name</code>
You right, but "code" is important to install progress

✯ Professional OpenCart Support [UK-based] ✯
https://opencart.tipshttps://opencart.com.plhttps://facebook.com/opencarttips ✯ Live-chat: http://pixly.me/livechat


User avatar
Active Member

Posts

Joined
Sun Jan 03, 2010 4:23 am
Location - Bournemouth, UK
Who is online

Users browsing this forum: No registered users and 126 guests