| Category: Home > Manual > Designer |
Still the templatesLet's take a quick look at this example template and see how complete it can be.<html>This could easly be the main template for a regular site, with 4 main blocks. From the start. <html>, <head> and <title> are normal HTML tags. Before the <html> tag you could insert yet the xml DOCTYPE to your document as recomended by the actual (X)HTML best pratices. <?=sitename?> and <?=title?> are the first BWPMS specific tags in this example. They represent, respectivly, the sitename (BWPMS.com, in this site example), and the page title (it's called stitle from Story Title, the page title I had in mind when I defined the variable name). Then you have more HTML and the <?header?>, <?sidebar?>, <?main?> and <?footer?> tags, that are placeholder where modules will be inserted. See module's placeholder for more information on defining the modules for each placeholder. |
