Hi!
I'm new to midgard and just testing some functionality.. I'm now trying to
test the calendar functions. I've created a topic (id=18) and an article in
that topic. Now I'm trying to get the $calendar object with
$calendar = mgd_list_topic_calendar_all();
but with a print_r() I see that the object is empty.
if i try to query mysql directly about that topic it gives me:
mysql> select * from article where topic=18;
+----+----+-------+----------------------+------------------------------------+-------------------------+--------+---------------------+-----+------------+---------+------+------+-------+--------+--------+--------+------+---------+---------+----------+----------+---------------------+---------------------+-------+------+---------------------+--------+-----------+
| id | up | topic | title | abstract
| content | author | created | url | calstart |
caldays | icon | view | print | extra1 | extra2 | extra3 | name
| creator | revisor | revision | approver | revised | approved
| score | type | locked
| locker | sitegroup |
+----+----+-------+----------------------+------------------------------------+-------------------------+--------+---------------------+-----+------------+---------+------+------+-------+--------+--------+--------+------+---------+---------+----------+----------+---------------------+---------------------+-------+------+---------------------+--------+-----------+
| 20 | 0 | 18 | just a calendar test | Hey president! This is just a test
| and this is the content |
1 | 2002-02-07 12:55:50 | | 2002-02-02 | 121 | 0 | 0 | 0 |
| | |
| 1 | 1 | 4 | 0 | 2002-02-07 14:10:28 | 0000-00-00
00:00:00 | 0 | 0 | 0000-00-00 00:00:00 | 0 | 0 |
+----+----+-------+----------------------+------------------------------------+-------------------------+--------+---------------------+-----+------------+---------+------+------+-------+--------+--------+--------+------+---------+---------+----------+----------+---------------------+---------------------+-------+------+---------------------+--------+-----------+
1 row in set (0.00 sec)
mysql>
what fields did I forgot to fill...
Should I mention that the calendar functions don't work neither in the
Example Site? Is it something wrong with my install? If so.. give me please
some hints!
Thanks,
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]