This is an old revision of the document!


page layout-template-article

FIXME language correction

ADMIN -> page layout:

→ page layout create (or change an existing one)

  • 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> und </body> without this two tags, in addition with the placeholder {HEADER} {CONTENT} {LEFT} {RIGHT} {FOOTER} )

*z.B.

 - <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).,
  • e.g.
    <!-- Error - Output of sites without content ===== //-->
    
    <br /><br />
    [B]Caught![/B]
    <br /><br />
    This side is momentarily in treatment or is not intended yet for the public. 
    <br /><br />
    Please try it later again. 
    <br /><br /><br />
    Thanks!  
    <br /><br />
        

ADMIN -> site structure and article

The content of the page will be wrote into the site by the relevant articles and CPs (Contentparts) using the available placeholder.

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).

article

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)

navigation

Now a navigation is missing. ADMIN → templates: → template select

At the place where the navigation should appear, please insert - NAV_LIST_UL einsetzen. FIXME

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 aus NAV_LIST_UL to the template (see above ). FIXME

So it should work for the beginning.

english/quick-access/pagelayout-template-article.1240639528.txt.gz · Last modified: 2018/06/03 18:07 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0