Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Tips / MicroSites

MicroSites

MicroSites 又稱為 SubSites,是指一個主網站內,有數個子網站。

設計歷史 IPloneSiteRoot vs ISiteRoot

collective.lineage INavigationRoot IPossibleSite IChildSite Custom Logo

安裝 0.6 以上版本時,就不需要指定 zcml 設定值,安裝 1.1 以上版本時,必須搭配 Plone 4.1 以上的版本。

手動設定方式

RedTurtle PloneGov Italia

如何指定 IPloneSiteRoot 給 Child Site: 透過 ZMI 的 Interfaces 管理頁籤,或是透過 collective.interfaces 模組提供管理介面。

For Plone 5 and collective.lineage with lineage.registry, we're much better off - since all configuration settings are stored in the registry it is possible to configure each IChildSite individually, if lineage.registry is in place.

Here is an example of storing a site logo in the registry for Plone 4.3: https://github.com/collective/collective.sitelogo/blob/master/src/collective/sitelogo/configure.zcml#L41

lineage.themeselection

如果目錄的 AccessInactivePortalContent 索引值沒有更新,會造成 Editor 角色無法看到 inactive 內容,即使具備讀取權限。