mxmCounter 是一個方便好用的 Zope ç€è¦½è¨ˆæ•¸å™¨ product,å‡è¨æˆ‘們已經è£å¥½äº†ã€‚
為了è¦åœ¨ AboutBox slot è£¡å¤šåˆ—ä¸€æ¢ mxmCounter çš„é …ç›®ï¼Œæˆ‘å€‘è¦å…ˆè‡ªè¨‚ PloneRoot/portal_skins/plone_portlets/about_slot,在::
ä¹‹å¾ŒåŠ ä¸Šé€™ä¸€æ®µ::
Visited
tal:replace="python:here.mxm_counter.count(here)"
/> times
然後別忘了修改 PloneRoot çš„ left_slots property,把 AboutBox slot åŠ é€²åŽ»::
here/about_slot/macros/aboutBox
完工。
為了è¦åœ¨ AboutBox slot è£¡å¤šåˆ—ä¸€æ¢ mxmCounter çš„é …ç›®ï¼Œæˆ‘å€‘è¦å…ˆè‡ªè¨‚ PloneRoot/portal_skins/plone_portlets/about_slot,在::
tal:define="review_state wf_state"
tal:condition="review_state">
State
tal:content="review_state"
tal:attributes="class review_state"
i18n:translate="">
private
tal:condition="python:here.isExpired(here)">
( i18n:translate="time_expired">
expired)
tal:condition="review_state">
State
tal:content="review_state"
tal:attributes="class review_state"
i18n:translate="">
private
tal:condition="python:here.isExpired(here)">
( i18n:translate="time_expired">
expired)
ä¹‹å¾ŒåŠ ä¸Šé€™ä¸€æ®µ::
Visited
tal:replace="python:here.mxm_counter.count(here)"
/> times
然後別忘了修改 PloneRoot çš„ left_slots property,把 AboutBox slot åŠ é€²åŽ»::
here/about_slot/macros/aboutBox
完工。
Posted by yungyuc
at 18:27,
0 comment,
0 trackback.
Navigate
- Previous: 在 dtml-var 裡呼å«æ™‚間的方法 @2004/11/15
- Next: ã’ã‚“ã—ã‘ã‚“ 第五話 「自律行動ã«è¦‹ã‚‹æŽ’æ–¥ã¨å—容ã®å¢ƒç•Œã€ @2004/11/15
Add a trackback
Please send trackback to: http://blog.seety.org/everydaywork/2004/11/15/89/trackback/.
Add a comment