Search code examples
attributesconcrete5

Concrete5 core blog thumbnail, How can I reuse it on other composers


Concrete5 comes with package blog_entry by default.
This package includes image thumbnail with width and height restriction. How can I reuse it with other types? So I want to build a different Blog and use these thumbnails.

Thanks


Solution

  • To make a page type available to the Composer dashboard interface, go to Dashboard -> Pages & Themes -> Page Types, and click the "Composer" button next to the appropriate page type (then check the appropriate boxes depending on how you want this set up).

    If you want to make some content fields available for data entry also, click the "Defaults" button next to the page type (in the "Page Types" dashboard page), then add a block to an area on your page, then click on the block and choose "Composer", and check the box to make it available in the composer interface.

    The "thumbnail image" for the blog posts are utilizing an "image" block in the page defaults, so after you've enabled your page type to work with composer, go to the page defaults and add an "Image" block to an area, then I think you can edit that block and set some default dimensions. Before you exit edit mode, click on the image block and choose "Composer" and check the box to make it available to the composer interface. Now it should appear when you write new pages of the new page type in Composer.