Trying to figure out how to use the rokbox plugin to display new addresses instead of the standard Joomla shadowbox.
According to the rokbox documentation:
www.rockettheme.com/extensions-joomla/rokbox
I should be able to insert
into the link that calls the popup.
Looking at the templates I see that the popup is called several times in the address_view file of the checkout view - links such as;
<a class="modal hikashop_checkout_<?php echo $this->type;?>_address_edit" rel="{handler: 'iframe', size: {x: 450, y: 480}}" href="<?php echo hikashop::completeLink('address&task=edit&redirect=checkout&address_id='.$address->address_id.'&step='.$this->step,true);?>" onclick="SqueezeBox.fromElement(this,{parse: 'rel'});return false;"><img src="<?php echo HIKASHOP_IMAGES; ?>edit.png" border="0" /></a>
If I just change the "rel" to
The edit address page now opens in both the standard shadowbox AND the rokbox.
I assumed this was something to do with the "onclick" part of the link. I completely removed the onclick section and still have the same (very slow) behaviour of opening both the shadowbox AND the rokbox -perhaps there is something in a different file? Currently my links are as such;
<a class="modal hikashop_checkout_<?php echo $this->type;?>_address_edit" rel="rokbox" href="<?php echo hikashop::completeLink('address&task=edit&redirect=checkout&address_id='.$address->address_id.'&step='.$this->step,true);?>"><img src="<?php echo HIKASHOP_IMAGES; ?>edit.png" border="0" /></a>
Can't understand what else I need to change. Also have no idea I would change the "New" button to also open in a rokbox
Thanks for your help.
Simon