|
Date: 5/9/2008 2:10 pm · Subject: Re: Bilingualism · Rating: 0
Ok, so you made a structure in the WebGUI admin console solely using folders?
We use folders only as containers for holding files. So for example all PDF files go in one folder and all templates go in another one.
To give your website a structure you use page layouts. To add content to the page layout you use articles etc. All these different functions (page layout, folder, artice) are called assets in the WebGUI tree. These assets can contain one or more templates which, amongst other things, describe the looks of that asset. Depending on the asset you are using there are different variables that you can use (like I said in my other post, you can find them in the help file). These variables can add URL or markup and more of this stuff to your asset.
For example, when you want to show all files in a folder and make a link of the titles your template can look something like this:
<tmpl_loop file_loop> <a href="<tmpl_var url>"><tmpl_var title></a><br /> </tmpl_loop>
The best way to learn how to use the templates is to start working with them. Copy an existing template and alter it to fit your needs.
One last thing: be carefull not to edit the system templates. If you want to use a different template just make a new one.
--- (Edited on 5/9/2008 21:10 [GMT+0200] by roryzweistra) ---
--- (Edited on 5/9/2008 21:16 [GMT+0200] by roryzweistra) ---
|