Pages

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 11.0

With the changes in the modification workflow introduced in the Happy Valley release, you can no longer define template defaults for a variation without a template. Template defaults are now only valid for variations that actually use a template for their content. If your site has modifications that use template defaults (template data or content) without an actual template, you can no longer edit and save the variation content. You may end up with a variation like this if you, for example, try to activate or duplicate an old, inactive modification.

To be able to edit the variation content, you must first create a template for the variation, using the original variation content as a basis, and then select that template for the variation.

To create the template and select it for the variation:

  1. Copy the content from the original variation:
    1. In the Frosmo Control Panel, select Modifications > Overview.
    2. In the modifications list, find the modification you want to edit, and click its name.
    3. In the Basic settings view, find the variation you want to edit, and click its name.
    4. In the Define content view, copy the variation content.

      Variation custom content to copyImage Added

  2. Create a new template with the copied content:

    1. Select Modifications > Templates.
    2. Click Create template.
    3. Enter a name for the template.
    4. In the Content field, paste the copied variation content.
    5. If the content uses Mustache tags as placeholders for values, define the necessary Content prerenderer and/or Content options schema for providing the final values with which to render the content on the page. For more information, see Creating and editing a template.
    6. When you're done, click Save.

    Creating a template with the copied contentImage Added

  3. Assign the template to the variation:
    1. Select Modifications > Overview.
    2. In the modifications list, find the modification you want to edit, and click its name.
    3. In the Basic settings view, find the variation you want to edit, and click its name.
    4. In the variation settings, click Select type.

      Selecting the content type for the variationImage Added

    5. Select the template you just created.

      Selecting the template for the variationImage Added

    6. Click Select. You can now edit the existing template defaults or, if you defined a content options schema for the template, set the content options for the variation.
    7. When you're done, click Save.

For more information about defining and editing modification content, see Defining the content for a modification.

For more information about working with templates, see Templates.