Development


21September

Open Joomla modal with Javascript

To open a modal box in Joomla using Javascript, first make sure the modal behavior is loaded:

JHTML::_('behavior.modal');

Then, open an external resource with an iframe handler:

SqueezeBox.setContent( 'iframe', 'http://google.com' );

Posted in Development, Joomla, Tutorials

25August

Virtuemart Paypal Currency Problem

Virtuemart has a multiple currency feature where users can select from a pre-defined set of currencies for checkout.

This is very useful, but has a major bug when checking out with Paypal. The final order logged in Virtuemart is correct, and has the correct currency. However, when the user is redirected to Paypal, the transaction will be done in the default currency of the Virtuemart shop.

This problem has existed since 2009, and in 2011 I would have expected it to be resolved already.

I would class this as a major problem as it results in incorrect transactions.

Posted in Development, Tutorials

About Dave Horsfall

Dave Horsfall is a British software developer and founder of the hwdMediaShare project. More...

Recent Comments

  • Ppl like you get all the brains. I just get to say thanks for he awnesr.

    Rosa, 06. September, 2011 |

  • Ppl like you get all the brains. I just get to say thanks for he awnesr.

    Rosa, 06. September, 2011 |

  • No, the file should be called "project.properties", and it should be located in the same directory as the file called "project.xml". I'm...

    Dave Horsfall, 29. August, 2011 |

  • There is no file called "project.properties". There is a file "project.xml" is this the one? It is not "simple text" though...

    OppfinnarJocke, 29. August, 2011 |