Plone
Ploneでのサイト作成時に見つけたもの。
plone.app.registry
http://pypi.python.org/pypi/plone.app.registry
registry.xmlファイルでコンテンツの設定ができるもの。
plone.app.jquerytools
http://plone.org/products/plone.app.jquerytools
ポップアップ等を簡単に利用するためのツール
Permission
パーミッションのリストがここにある。
Using Other Information about your Site on a Page
@@plone以外にも
- @@plone_portal_state
- @@plone_context_state
- @@plone_tools
なんかがあることが書いてある。以前は、Global defineを使っていたけど、これからはこっちを使うみたい。
http://plone.org/documentation/manual/theme-reference/page/otherinfo
こっちも参考になる。
WebServerAuth
LDAP, Shibboleth をPloneで利用するための方法が書かれている。
http://plone.org/products/webserverauth
collective.blog.feeds
http://pypi.python.org/pypi/collective.blog.feeds
Feedを簡単に出力できるようにするパッケージ。
buildout.cfgのeggに追記して使う。超簡単、便利。
デフォルトでは、Document, News Item, Fileを一覧するのみだけど、portal_properties内のsite_properties項目で、blog_typesプロパティをラインで追加。表示したいコンテンツタイプを指定すればOK。
開発
リポジトリ
http://svn.plone.org/svn/plone/buildouts/plone-coredev/branches/4.1/
Windowsでのfgを早くする
the “if platform == ‘win32’:” block and comment it out.
Windows 64bitのバイナリ
http://www.lfd.uci.edu/~gohlke/pythonlibs/
以下2つはセキュリティに関して、自由度を持たせるためのもの
Local roles
http://plone.org/documentation/manual/plone-community-developer-documentation/security-1/local-roles
Dynamic roles
Portlet関連
http://plone.org/documentation/manual/theme-reference/elements/portletmanager/createnew
Tips
Windowsでinstance fg で起動できない時
instance fg をした際、「To run the program in the foreground, please stop it first.」というメッセージが出て起動しないときは、
var/ にある、instance.lock と instance.pid ファイルを削除して、再度、instance fg すれば起動します。
この現象は、Plone起動時にプロダクト等にエラーがあり、起動を中断した際に、よく発生します。
plone.postpublicationhook
このタイミング使える。
http://pypi.python.org/pypi/plone.postpublicationhook/1.1
イベント ハンドラ
http://plone.org/documentation/kb/set-up-subscriber-in-five
http://bluebream.zope.org/doc/1.0/reference/event.html