Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

VM INVOICE and J3.3.3 + VM 2.9.9b (VM3)
(1 viewing) (1) Guest
If you want to ask question about the product features, licensing conditions or other questions prior to purchase, please, do it here.
  • Page:
  • 1

TOPIC: VM INVOICE and J3.3.3 + VM 2.9.9b (VM3)

VM INVOICE and J3.3.3 + VM 2.9.9b (VM3) 10 years, 1 month ago #45727

My question is actualy in subject.
Sorry by sending mail with it to You, I've found forum later.
I'm building shop on that config etc. and I need to know if is compatibile or when would be, and VM3 for J3 is coming with big steps :) .

Thanks in advance.
Last Edit: 10 years, 1 month ago by bart198x. Reason: a typo in subject
The topic has been locked.

Re: VM INVOICE and J3.3.3 + VM 2.9.9b (VM3) 10 years, 1 month ago #45728

OK I did backup and start to make a fuss :)

On first look is ok (not tested at all, only first look)

The only error I see is : 500 JHtmlBehavior::mootools not found. on create new order.
Any idea?

Still waiting for answer.

oo and sorry J 3.3.6
The topic has been locked.

Re: VM INVOICE and J3.3.3 + VM 2.9.9b (VM3) 10 years, 1 month ago #45731

Ok So I got "create new order" starting.

The reason of error was that joomla3 has mootools initialization changes in comparison with J2.5

file :
administrator/components/com_vminvoice/views/order/tmpl/default.php

line 18 (in version 2.0.39 form .xml file)
JHTML::_('behavior.mootools');

to
JHtml::_('behavior.framework', true);


and that's the changes
I will make functionality test later, for now I just get rid of the initial errors.
I will write later what is happenning :)
Maybe nothing... or everything :)
The topic has been locked.

Re: VM INVOICE and J3.3.3 + VM 2.9.9b (VM3) 10 years, 1 month ago #45732

I am shocked but it looks like everything works as should:

After repair written above and config (without delivery note) invoices are creating as it is set in invoice template.
Plugin sending invoices automaticaly - if you don't have cron- works fine too.
Else functions I didn't test - only what I need, but I believe that they works too.

end topic.
The topic has been locked.

Re: VM INVOICE and J3.3.3 + VM 2.9.9b (VM3) 10 years, 1 month ago #45740

OK.
For more cros-version compatibility:
administrator/components/com_vminvoice/views/order/tmpl/default.php
about the line 17
JHTML::_('behavior.mootools');

change to this:
if(JVERSION<3) { JHTML::_('behavior.mootools');
} else { JHtml::_('behavior.framework'); }


Logical condition, checking Joomla version and setting proper mootools injection method.

I made change of the previous verion deleting ',true' from :

JHTML::_('behavior.framework', true);

I think it's no need to load MooTools More libraries, and that 'true' was makeing it (was loading MooTools More libraries). If I'm wrong, just live that 'true' alone.

But that is more for developers information :). Because if someone install it on J3 and VM3 he wouldn't need both methods alternately.

The rest of thing looks fine - have a little problem with deleteing orders from vminvoice but looks to work fine now
don't know why ? :) but works.

THE END.
The topic has been locked.

Re: VM INVOICE and J3.3.3 + VM 2.9.9b (VM3) 10 years, 1 month ago #45766

  • mitk
Hello,

thank you a lot for your testing.
The topic has been locked.
  • Page:
  • 1
User Login Empty