Aktivera Forhåndsvisnings knappen

4.7.12 YourEnonicVersion
Windows YourOS

Hei,

Hur kan jag aktivera “Forhåndsvis” knappen i Enonic? Just nu den är disabled och det står inte ngn information om vad är kravet för aktiveringen.

Mvh
Keyvan

Hi,

You need to create a Page Template that supports this particular content type. After that Enonic CMS knows what page template to use and were to send the user. This will activate the button.

The info is hidden somewhere in the docs.

That particular page pemplate also needs to be of the type content – in other words not a section page or anything else. And like bwe said, the page template needs to support the contenttype in question. Finally, it’s normal for that page template to have a portlet that retrieves the content using the getContent datasource.

1 Like

Thanks for all answers :smile:
BR
Keyvan