usage of buttons and modal dialogs - Joomla! Forum - community, help and support
hi there,
i'm not familiar yet joomla api resources.. don't quite understand how create jbutton.. example opening modal window.
the way create calendar clear me:
but.... how can create button using joomla api.
thanx in advance !
bye, alex
i'm not familiar yet joomla api resources.. don't quite understand how create jbutton.. example opening modal window.
the way create calendar clear me:
code: select all
<?php echo jhtml::_( 'calendar',$this->rl_ad->valid_to,'valid_to','valid_to'); ?>
but.... how can create button using joomla api.
thanx in advance !
bye, alex
well,
i think got how tu create popup button:
... but... when call joomla speficic url... whole page gets rendered... so.. give me small example how use modal dialogs using joomla's mvc scheme ?
bye, alex
i think got how tu create popup button:
code: select all
jimport('joomla.html.toolbar.button.popup');
$popupbutton = new jbuttonpopup();
echo $popupbutton->fetchbutton( $type='popup', $name = 'some-popup-button', $text = 'hello', $url = 'http://www.some-link.de', $width=640, $height=480, $top=0, $left=0 );
... but... when call joomla speficic url... whole page gets rendered... so.. give me small example how use modal dialogs using joomla's mvc scheme ?
bye, alex
Comments
Post a Comment