How to make a typo3 template
Labels: Linux Operating System it, PHP — Tonylog 10 August 2007 @ 18:57Typo3 is a professional CMS that allows you, through a complete admin/author interface, to easily handle the contents of a website.
However, the process of templating is not as straightforward. The majority of typo3 templates are built through a series of commands, given in an array format, defined in the template field SETUP. All the commands in this field will be processed by the typo3 core. They will be substituted with the specific “commented tags†that will be positioned on a default template page.
What we need to do to make a simple typo3 template:
- Download the source code for the typo3 template page and the setup (in .txt format). Typo3 template example made by Tonylog
- Install the extensions (form the typo3 online repository):
- automaketemplate
- css_styled_content
Both these extension are made by the author of typo3 and in stable version
These 2 typo3 extensions will respectively feed the template parser with the dynamic content and handle the menu.
Let’s analyse the html source for the template page.
The source for the template (download available above) is very simple, it has very basic html tags and comments, the majority of which will be substituted by the typo3 template core processor in real dynamic content.
Let’s analyse the setup this time.
N.B. The parser considers lines that begin with # comments.
All the comments on the setup.txt file will explain how it actually works.
The typo3 templating method is not the most straightforward of the CMS world. However, the content capabilities of this well structured software are quicker to learn and easier and more intuitive to manage. This makes typo3 a software to seriously consider when looking at all the options that the world of open source software offers.
No Comments
Send your comment for the articleNo comments yet.












Loading ...