Displaying 1 result from an estimated 1 matches for "t_articl".
Did you mean:
particl
2006 Jul 12
2
(Re-)designing a CMS
...variant works with templates like this:
In the root of the webdir, there are the template files, named
cms_news.html for example.
This page contains custom tags, in the form of definitions and placeholders...
The definition tags go like:
<!--cms
<cmsdef name="articles" table="t_articles" type="repeat">
<buttons/>
<b><cmsitem src="title"/></b>
<cmsitem src="article"/>
</cmsdef>
cms-->
They are placed on top of the file, before the <html> tag.
PHP uses str_replace() to filter out these tag...