2011-08-03 25 views

回答

0

是的,一個真正的問題會很好。但是,您有一個Zope頁面模板 - 這是您獲取實際數據的地方。只需自定義模板以提供具有Plone外觀的數據&感受:請參閱您所需組件的base_view模板。

1

1.如果您知道如何編寫一個瀏覽器:查看,確實創造了一個和在PT你可以寫這樣的:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" 
     xmlns:tal="http://xml.zope.org/namespaces/tal" 
     xmlns:metal="http://xml.zope.org/namespaces/metal" 
     xmlns:i18n="http://xml.zope.org/namespaces/i18n" 
     lang="en" 
     i18n:domain="csi.wifistats" 
     metal:use-macro="context/main_template/macros/master"> 
<body> 
    <metal:content-core fill-slot="content-core"> 
     <metal:content-core define-macro="content-core"> 
     <!-- Your dynamic content --> 

      </metal:content-core> 
     </metal:content-core> 
    </body> 
    </html> 

2,如果你不知道如何創建一個瀏覽器視圖,更好地學習,然後轉到步驟1) http://collective-docs.readthedocs.org/en/latest/views/browserviews.html