To create modal popup for user login for example
- Go to menu and Add new
- Select on Menu Item Type -> External URL
- Link http://www.yourdomain.com/index.php?option=com_users&view=login&Itemid=99999&tmpl=component
- Link CSS Style modal bmenu “ rel=“{handler: ‘iframe’, size: {x: 780, y: 500}, onClose:function(){$(‘sbox-content’).empty();}}
- You need to add in the <head> section of your template <?php echo JHTML::_(‘behavior.modal’); ?>
Вашият коментар