# Content Blocks - Set default layout based on Document template

**URL:** <https://forum.modmore.com/t/content-blocks-set-default-layout-based-on-document-template/386>\
**Category:** Talk of the Town\
**Created:** [August 30, 2016, 3:02pm UTC](https://forum.modmore.com/t/content-blocks-set-default-layout-based-on-document-template/386 "2016-08-30T15:02:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aramisnegron](https://forum.modmore.com/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@aramisnegron](https://forum.modmore.com/u/aramisnegron)\
**Post date:** [August 30, 2016, 3:02pm UTC](https://forum.modmore.com/t/content-blocks-set-default-layout-based-on-document-template/386/1 "2016-08-30T15:02:14Z")

</div>

Is there a way to set a default content block layout to a particular document type?

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [August 30, 2016, 3:28pm UTC](https://forum.modmore.com/t/content-blocks-set-default-layout-based-on-document-template/386/2 "2016-08-30T15:28:16Z")

</div>

Yes @aramisnegron, please take a look at the Default Templates feature, documented here: [https://www.modmore.com/contentblocks/documentation/defaults/](https://www.modmore.com/contentblocks/documentation/defaults/)

---

<div class="post-metadata">

**Author:** ![aramisnegron](https://forum.modmore.com/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@aramisnegron](https://forum.modmore.com/u/aramisnegron)\
**Post date:** [August 31, 2016, 5:53pm UTC](https://forum.modmore.com/t/content-blocks-set-default-layout-based-on-document-template/386/3 "2016-08-31T17:53:04Z")

</div>

Thanks for the info. It worked as expected.

---

<div class="post-metadata">

**Author:** ![ivmedia](https://forum.modmore.com/letter_avatar_proxy/v4/letter/i/9f8e36/32.png) [@ivmedia](https://forum.modmore.com/u/ivmedia)\
**Post date:** [December 15, 2024, 4:45pm UTC](https://forum.modmore.com/t/content-blocks-set-default-layout-based-on-document-template/386/4 "2024-12-15T16:45:59Z")

</div>

I have the same question but I want to avoid that the user can select the default template in the “Add Layout” Dialog again. It should be hidden. I can restrict the amount for layouts but not for templates.

---

<div class="post-metadata">

**Author:** ![ivmedia](https://forum.modmore.com/letter_avatar_proxy/v4/letter/i/9f8e36/32.png) [@ivmedia](https://forum.modmore.com/u/ivmedia)\
**Post date:** [January 7, 2025, 7:22pm UTC](https://forum.modmore.com/t/content-blocks-set-default-layout-based-on-document-template/386/5 "2025-01-07T19:22:02Z")

</div>

I used a workaround to solve this. I added a condition: Only available if Template ID is 10000.
