Forked from christianseel/extract-teaser-layouts.php
Created
February 9, 2016 17:44
-
-
Save pepebe/ba80d9681c86d68868b0 to your computer and use it in GitHub Desktop.
MODX Plugin (OnDocFormSave): Extract Teaser Layouts – saves a specific ContentBlocks layout into a TV to make it available elsewhere. To prevent the layout from rendering in the content area you need to wrap your CB layout template into [[+render_teaser:is=`1`:then=`<template here>`:else``]]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment