在TYPO3里的 "PAGE"对象

来源:互联网 发布:dbc2000数据库详解 编辑:程序博客网 时间:2024/05/22 07:55

Pages有两个值 , 即"id" and "type".ID指向页面的uid,这样页面就被得到;而这里type常常定义页面rendered,最主要用在框架结构里面,

 

The"type" is used to define how the page should be rendered. This isprimarily used with framesets. Here the frameset normally has thetype=0 (or not set) and the documents in the frameset would be definedwith another type, eg. type=1 for the content-page.

You should explore the framesets of the TYPO3-sites around. Also look in the standard-templates for framesets.

It's a good habit to use type=1 for the main-page of a website with frames. With no-frames sites type is normally zero.

Another good habit is to use "page" as the toplevel-objectname for the content-page on a website.

Most of this codes is executed in the PHP-script pagegen.php

 

 

 

 

Pages are referenced by two main values. The "id" and "type".