Post by imakeitwork » Fri Apr 22, 2016 10:58 pm

After reading OCMOD documentation about 35 times I have a question:

vQmod has offset. If you use replace and offset="10", it means current and 10 more lines below are replaced. Does OCMOD's offset work in the same way?

I try to convert one of my 100% working vQmod extensions to OCMOD, and I get quite weird errors when I hit modification Refresh button in admin panel. Couple of simple mods worked just fine, but after using offset I started to think that I may use it somehow improperly.

Since OCMOD's index starts with 0 (but there's nothing mentioned in documentation about that!), how does the offset work then?

Thanks.

New member

Posts

Joined
Mon May 05, 2014 5:07 pm


Post by IP_CAM » Sat Apr 23, 2016 8:13 am

One of the Disadvantages of OcMod is, that it is not quite as clever as VqMod, seemengly also, when it comes to those OFFSET - things!

Ernie

Some Informations on this:

Forum Post
viewtopic.php?f=183&t=156866&hilit=+Cod ... 59#p611059

Modifying OpenCart: vQmod vs OCMOD
https://multimerch.com/blog/modifying-o ... -vs-ocmod/

OCMOD Downloader
http://www.opencart.com/index.php?route ... n_id=22827

Modifications Manager
http://www.opencart-templates.co.uk/mod ... on-manager

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 3 guests