Creating my own template

post everything related to phpwcms templates here
Post Reply
Posts: 9
Joined: Tue 16. Sep 2008, 09:40
Location: Turkey

Creating my own template

Post by Techno_maynaQ »

I am designing websites on photoshop and edit and code it on Front Page/MS Web Expression and Dreamweaver. How can i create my own template for phpwcms??? any one know this? if you can refer link or tutorial i'll be glad to you.. you can post your answer to;
if you want you may see my works here:

and beside this is there anyone to help me online via msn or g-talk to create pages or templates with phpwcms???
what a f***ing life is this!
User avatar
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)

Re: Creating my own template

Post by flip-flop » [DE] [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>
- <script type="text/javascript" language="javascript">
-> 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} )
- <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.

Last edited by flip-flop on Mon 22. Sep 2008, 08:12, edited 1 time in total.
User avatar
Posts: 75
Joined: Tue 18. Jan 2005, 17:36

Re: Creating my own template

Post by bogus »

ich wette mit dir um einen 1 €, das der da oben ein Spammer ist ;)

User avatar
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)

Re: Creating my own template

Post by flip-flop »

Bin mir da nicht so ganz sicher, die Seite selbst deutet nicht darauf hin. Etwas eigenartige eMail-Adr. vielleicht, bei deren gedachter Aussage ich nicht vermuten würde, dass der Betreiber es nicht schafft ein Template einzurichten.

Was würde das Auflisten von eMail-Adr. bringen, fallen die so aus irgendwelchen Filtern raus?
Muss wohl, denn sonst würde eine Adresse reichen, also Spam.
User avatar
markus s
Posts: 654
Joined: Sat 16. Dec 2006, 19:21
Location: Radfeld / Tirol

Re: Creating my own template

Post by markus s »

emailadressen wurden gelöscht.
propelled by fresh air from tirol
Post Reply