http://forum.phpwcms.org/viewtopic.php?p=106283#p106283 [DE]
http://forum.phpwcms.org/viewtopic.php?p=109314#p109314 [EN]
Creating: page layout / template / site structure / articles / navigation
ADMIN -> page layout: -> page layout create (or change an existing one)
-> margin: [x] disable
-> page title: [My site title]
-> add to title: [draw up a shortlist]
-> rendering: [x] (custom (from template main block))
Please leave all other blank.
ADMIN -> templates: -> Create a new template (or change an existing one)
-> name: [name of your page layout]
-> layout: [refer a page layout]
-> CSS file: [refer files from the folder /template/inc_css/* to the layout (multiple choice <Strg><left mouse button>)]
-> html head <head>: e.g.:
- <meta name=" my tags" insert />
- <link rel="shortcut icon" href="favicon.ico" />
- <!--[if IE]><style>
............
</style><![endif]-->
- <script type="text/javascript" language="javascript">
<!--
............
//-->
</script>
-> header: leave it blank)
-> main: At this place put in the HTML-source of the layout
(all between <body> and </body> without this two tags, in addition with the placeholder {HEADER}{CONTENT}{LEFT}{RIGHT}{FOOTER} )
E.g.
- <table style="height:auto;">
.........{CONTENT} ............
- </table>
(A div layout is the better option)
-> footer: leave it blank)
-> left: leave it blank)
-> right: leave it blank)
-> error: At this place please put in your error (HTML) code (This text is comming up, if the selected site hasn´t any content).
-------------------------------
The content of the page will be wrote into the site by the relevant articles and CPs (Contentparts) using the available placeholder.
The site structure
Please create the site structure at ADMIN -> site structure.
The site alias normally is given automatically, but you can overwrite them with your own alias name. (This name is matchless for the whole system).
Each categorie (site structure level) is assigned to a page layout. (In theory, every category have their own Layout).
For now filling the page with content, at least in each category must be created one article.
-> ARTICLE -> Categorie [+] create new article.
-> ARTICLE -> Edit article information
- Required here as a minimum of article title and activation of the article (bottom left [x] visible)
(At tihs time the remaining fields stay blank).
Now you can create several CPs in article [contentpart selection] [add]
- CP select, appoint output destination,(display: [place holder])
filling up content
and at the lower left switch to [x] visible)
-------------------------------
Now we are missing a navigation. ADMIN -> templates: -> template select
At the place where the navigation should appear, please insert -
NAV_LIST_UL.
E.g. vertikal navigation: <div class="nlu_navi1">{NAV_LIST_UL:F,ID,,act_path,active}</div>
Now assign the right css file (/template/inc_css/nlu_navi1.css) from
NAV_LIST_UL to the template (see above ).
So it should work for the beginning.
Knut