I am having one problem thou I read on the forums about $my and using global $my followed by $my->username to get the current user logged on for the forms. However I can't get it to work I have print_r($my) and the array is blank however Joomla works fine and stays logged in I can go to my user menu and all my info is there. So I am not sure but I think the problem lays in the ChronoEngine. Any help with this would be appreciated. Thanks in advance...
I am running Joomla 1.0.15 and the latest ChronoEngine component. I have it on a unix server…
Also I put "print_r($my)" at the bottom of the index.php page for Joomla works find and prints entire array on any window except a ChronorEngine page. When viewing a ChronoEngine page it prints the structure, but the fields are empty?
osUser Object ( [id] => 0 [name] => [username] => [email] => [password] => [usertype] => public frontend [block] => [sendEmail] => [gid] => 0 [registerDate] => [lastvisitDate] => [activation] => [params] => [_tbl] => #__users [_tbl_key] => id [_error] => [_db] => database Object ( [_sql] => SELECT e.extid, e.cat, recur_type, recur_val, recur_until, start_date, end_date, recur_end_type, recur_count from jos_jcalpro_events AS e LEFT JOIN jos_jcalpro_categories AS c ON e.cat=c.cat_id WHERE (DATE_FORMAT(e.start_date,'%Y%m%d') <= 20080731) AND c.published = '1' AND e.published = '1' AND e.published = '1' AND approved = '1' AND recur_type <> '' ORDER BY start_date,title ASC [_errorNum] => 0 [_errorMsg] => [_table_prefix] => jos_ [_resource] => Resource id #13 [_cursor] => Resource id #136 [_debug] => 0 [_limit] => 0 [_offset] => 0 [_ticker] => 0 [_log] => Array ( ) [_nullDate] => 0000-00-00 00:00:00 [_nameQuote] => ` ) )
-Everett