Zum Hauptinhalt gehen

Template set publishing

Kommentare

2 Kommentare

  • Zendesk API User
    Author: mbergmann - 2/28/2019 0:49

    Hi Damon,

    there are multiple ways to achieve this, but I understand you‘d prefer some kind of setting on page or folder level.

    In this case you can suppress the generation of a page by using

    $CMS_SET(#global.stopGenerate, true)$

    somewhere in the template. That call should of course be wrapped in some kind of condition, e.g. based on the combination of templateset and metadata/sitestore variables.

    One small disadvantage is that this only suppresses the creation of the files but not their folders, so there will be some empty folders in the end.

    Michael

    0
  • Zendesk API User
    Author: damon_s - 2/28/2019 17:52

    Thank you Michael.  I implemented your solution and it worked perfectly.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.