简体   繁体   中英

How do I get the “Print this” option on pages of Plone 4?

Plone 3 basically gave users the choices "Send this" and "Print this" on every page. Plone 4 (at least my instance) only gives "Send this". How do I enable/add/restore the "print this" option? Thanks.

"Print this" is an action. Go to portal_actions -> document_actions -> print in the ZMI and set Visible? to true.

You can use actions.xml to do the same thing through GenericSetup:

<?xml version="1.0"?>
<object name="portal_actions" meta_type="Plone Actions Tool"
   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
 <object name="document_actions" meta_type="CMF Action Category">
  <object name="print" meta_type="CMF Action" i18n:domain="plone">
   <property name="visible">True</property>
  </object>
 </object>
</object>

See more about actions and GenericSetup here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM