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:

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:

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

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor