News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Backward compatibility from my module

Started by johnyDev, March 24, 2014, 11:57:56 AM

Previous topic - Next topic

johnyDev

Hello,

I am trying to create a module for VirtueMart, it works fine in VirtueMart 2.0.10 and above but I want it to be VM 2.x compatible, I have tried to install the module under VM 2.0.0 to start working on the compatibility and I face two problems :

Fatal error: Call to undefined method VmConfig::loadJLang()
Call to undefined method VmModel::getModel()

what is the old alternative for those functions and is there anyway to make a test of VM version and according to version run different code, or is there is better solution to make the module  compatible with VM 2.x


Thank you.

johnyDev

Hello again, please any chance that someone can help, it will be great if one of the VirtueMart developers just guide me to the right direction and give me some documentation ... an idea how to develop a virtuemart module that works on all VM 2.x

Thank you.

johnyDev