MidgardTopic
Topics are collectors for articles in Midgard CMS. They are also used as directories in MidCOM.
Topic functions
- mgd_copy_topic
- mgd_create_topic
- mgd_delete_topic
- mgd_delete_topic_tree
- mgd_get_topic
- mgd_get_topic_by_name
- mgd_get_topic_by_path
- mgd_is_in_topic_tree
- mgd_is_topic_owner
- mgd_list_topics
- mgd_move_topic
- mgd_update_topic
- mgd_update_topic_score
- mgd_walk_topic_tree
To use the topic code field in your PHP scripts, use the eval() function:
<? eval($topic->code); ?>
Or, you can use the :p formatter in Midgard:
&(topic.code:p);
