problem with JHTML:: 'calendar' - Joomla! Forum - community, help and support


in these day try develop personal component joomla 1.5. in component there form popup calendar insert date.
i found class jhtml:: 'calendar' easy use, can select  date , save database when edit there problem.

the code is

jhtml::_( 'calendar','2007-05-17','date_bd',$row->date_bd);

in image there standard date

inizio.jpg

i insert new date , date saved database

inizio2.jpg

when try change date saved find standard date.

inizio3.jpg

i want form shows (when change date) date saved not date standard ... how can it?

thanks suggestions, i'm newbe in joomla extensions development

ahoy shinji,

i think switched parameters;

your code;
jhtml::_( 'calendar','2007-05-17','date_bd',$row->date_bd);

i think should be;
jhtml::_( 'calendar',$row->date_bd,'date_bd','date_bd');

hope helps.

bert





Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???