> Ok, here are the steps (in order) that I understand to do to convert my > existing web site to midgard (at least most of it -- please comment on > any and all steps if I have misunderstood something -- sorry for being > such a newbie!): > > 1. Create a Page for each directory I have on the current site (like > help, signup, services, etc... i.e. www.mycompany.org/Page/ ) with the > root Page as my "home" page. > > 2. Create a Style for each "look" I want to have (like I can have a > holiday, spring, etc. "themes" to use, and the root Style is my default > or standard style.) > > 3. Create style elements that contain the actual html code for any html > template I reuse, with a special <[content]> tag in them, where I want > content and a special <[css]> tag that calls a style element for my css. > > 4. Then I create page elements for each "directory" that contains the > Page specific content... like the forms for the signup, or the php code > that pulls articles by topic (and makes the first letter a jpeg). > > 5. Then I can make groups that are allowed access to only those Pages > (which used to be directories) I want them to access ...
Yes, but these groups are used with admin site. > > If this is one correct procedure for converting to midgard... then I'm > starting to understand it. more or less , yes :) But it depends how difficult and complex is Your site. For example You could use snippets againts page elements if some code is used regullary and often. You make empty style (like nadmin) , which is very helpfull with sending more than one cookie, or sending some specific header to client browser. > Except -- where do I put my image files -- and how do I reference them? > Right now I have them stored in a single directory that all pages > access. So in my templates I have something like: <img > href="../directory/image.jpg"> -- would I make a style element that > calls the graphic from *somewhere?* for each of the template graphics I > use and then just put <[logo]> (and other names) in my styles, like I > did for my css code? It depends what admin site You use. There are different behaviours for images when You use nadmin and Asgard. If You want to use <[logo]>, it won't be any problem. Element logo will take the code for getting attachments. Piotras --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
