[EMAIL PROTECTED] wrote: > > > > > > but when i go to the main page i only get: > > > > > > Content:This is the default main page of your website. Use the > > > website > > > tab in the admin interface to modify this Page. > > > HEADER:This is the header > > > Footer: > > > > > > well, isn't this the supposed behavior?
No. >You still need to tell Midgard were to fetch your > article content from. Usually you would use an element called code-init to fetch the > corresponding article or topic from the database The problem is here with style element which should be "included" automagically. > Example: > code init: > <? > if ($argc == 1) $id = $argv[0]; > if ($id) $article = mgd_get_article($id); > if ($article) $author = mgd_get_person($article->author); > ?> It may be done even with style element included which is inheritable and "global" by default , but code-init is defined in midgard-root, so that should be better that way. > Piotras, please correct me if I'm mistaken. I am not a f** master ;) Anyway I propose to rename footer element to any other name and check than. Piotras --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
