{PROJECT} ../../template/home_en.ini {GRAFIK_LINKS} $home/gifs/li_phpcms.gif {LOGO_1} $home/gifs/cmslogo1.gif {LOGO_2} $home/gifs/cmslogo2.gif {MENU} 00.08.10.05 {TITEL} TAG files {CONTENT}
Did it occur you already that you created 10 HTML documents and later you see that the horizontal lines do not fit in the layout of the whole site?
With phpCMS can you avoid such situations, if you use TAG fiels.
You simply define your own TAGS in the TAG file, thats all. From now on you can youse these TAGS in your content- and template-files. If you want to replace later some TAGs by othe HTML tags then you only have to modify the definition in the tag file.
A TAG file is a normal text file. Per project you can define only one TAG file, but you can divide your site into more projects.
Within a TAG file comment lines begin with a semicolon (;). Blanks and tabulators are not interpreted. So use tabulators to keep your TAG files plenty.
A definition lines contains your TAG, the separator ":=" (without quotes) and behind this the HTML tags you want to replace with your own TAG. A Line in a TAG file looks e.g. in that way:
<BILDERRAHMEN> := <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2>
To using TAGS is as easy as writing a HTML tag, so there is not much to say.
The phpCMS parser replaces the TAG with the HTML tags defined behind your own TAG.
Because it is much easier to learn with examples here is an example TAG file:
Now an example how to use these tags in a content file:
<WICHTIG>Tip:</WICHTIG> Use as often as possible TAGS!
phpCMS replaces the TAG "<WICHTIG>" (german for IMPORTANT) with the HTML defined behind the separator. In a Browser the above line looks like this:
Tip: Use as often as possible TAGS!
Now you see that a pure bold writing of important words is not enough. Now you can open the TAG file and edit this:
And now the important word from above will be viewed as follows:
Tip: Use as often as possible TAGS!
As you can see: phpCMS is really easy to use!