I've ensured that the file exists, and the search phase exists in the file, but it just dosn't seem to create a file in the system/storage/modification directory. I thought a directory catalog would be create under the modification dir which would have the dir's and file I've modded.
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<modification>
<code>Journal2_blog_update</code>
<name>Journal2 blog update</name>
<version>1.0</version>
<author>Neil Dudman</author>
<link>http://www.opencart.com</link>
<file path="catalog/view/theme/journal2/template/journal2/blog/posts.tpl">
<operation>
<search>
<![CDATA[
<?php foreach ($posts as $post): ?>
]]>
</search>
<add position="after" offset="1">
<![CDATA[
<?php if (strlen($post['name']) == 0) continue; ?>
]]>
</add>
</operation>
</file>
</modification>
----------------------------------------------------------------
MOD: Journal2 blog update
----------------------------------------------------------------
Any help, or points what I'm doing wrong.
Thanks