How do you link to a Dexterity page from an ATContent page using “Related Items”?

StackOverflow https://stackoverflow.com/questions/8205480

  •  05-03-2021
  •  | 
  •  

문제

Tying to add a related item to an ATContent Page which links to a Dexterity page. However, in the popup-overlay (when selecting "Add..." from the "Categorization" tab) there is no checkbox option to add myDexterity type of content.

Am I missing something? is this supported? has anyone got a workaround?

Plone 4.1.2 (4111) CMF 2.2.4 Zope 2.13.10 plone.app.dexterity 1.0.3

도움이 되었습니까?

해결책

There's a separate package for this behaviour:

plone.app.referenceablebehavior

Just add it to your buildout (eggs and zcml variables, no need to install it via control panel). Then go to your dexterity control panel, in the Behaviours tab, and add the "Referenceable" behaviour. Note that only new contents will honor that behaviour, those that have been already created won't be refereceable.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top