-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi.
f'up to midgard-user, please follow. - --On 02.05.2002 14:49:10 -0500 Hess, Matt T wrote: > My company is looking at some content management systems. Due to the > quick ROI of open-source products we are starting down that road > first before investing in an enterprise content management system. A > team here has begun the process of building templates for our > intranet and much to my surprise many open-source CMS system have > problems with HTML templates. Rather than invest time to convert > those templates to XML or priority CMS system specific files, I > thought I might look for a product that uses HTML templates. I have > read a few articles about CMS systems; the latest an article on > CMSwatch.com that illustrated Midgard to be one of best open-source > CMS products. I would appreciate it if someone were to explain how > Midgard uses templates. And if it is possible to use custom build > HTML templates. Thanks in advance for your time. Well, basically Midgard builds the output (this can be anything from plain-text over HTML to XML or WML) out of what we call a "style tree". This tree consists of a range of style elements, each of which representing a part of a layout. These style elements then call each other which in turn builds up the layout in a top-down approach. Example: Everything starts with a style element called "ROOT", most of the time it consists of something like 1 <html> 2 <head> 3 <[header]> 4 </head> 5 <body> 6 <[body]> 7 </body> 8 </html> As you see, there are certain HTML-like entities in ther, recognizable by the <[...]> Syntax. These are calls to other Style elements. In this example, the elemnt "header" could consist of this 1 <title><? echo $page_title; ?></title> 2 <meta some meta tag> 3 ... Where $page_title comes somewhere out of the application logic you have to define. This basic structure holds true throughout the whole style tree where elements call other elements in turn. A more detailed insight into this can be found on the Midgard Homepage http://www.midgard-project.org in the documentation http://www.midgard-project.org/manual/en/ Live long and prosper! Torben Nehmer - -- Torben Nehmer, Munich, Germany http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED] PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Weitere Infos: siehe http://www.gnupg.org iD8DBQE80kfKJPh4Kn6d5FYRAhotAJ90AdZ44YClEok31u1Duo9Arh8v3gCgu/1r yRmbHzgAAd4rrDksN3KOZOY= =qTVQ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
