Actually, I know Midgard provides some template or style that help us to
build website. eg:www.its-linux.com I want to use Midgard template but
cannot find it. Can you tell me how can use Midgard template??

I think by template you mean style, I'm not sure if the (ancient) VMUC (Virtual Midgard Using Company) example site and style are still included in the data package but those should be an easy start.

About your earlier quietion on multiple templates/styles per page: if you set the page style to inherit everywhere and set the style on host you can then have different styles for different hosts which still use the same content (since they have same root page).

Also, I want to know what is snippet. I just know we can share the code
in it.

snippets are objects for storing code, they are stored in snippetdirs which form trees and are called with mgd_include_snippet() by their path, for example "/Nemein_Authentication/init" (the first slash at the beginning is implied and not neccessary) here we have one root level snippetdir named Nemein_Authentication and one snippet named init (in the init snippet there is code to call other snippets in correct order).


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to