Modern Campus Catalog Emblem Modern Campus CMS Emblem Modern Campus Curriculum Emblem Modern Campus Involve Emblem Modern Campus Lifelong Learning Extended Education Emblem Modern Campus Message Emblem Modern Campus Navigate Emblem Modern Campus Schedule Emblem Modern Campus Virtual Tours & Maps Emblem Modern Campus Lifelong Learning Workforce and Community Emblem Site Menu Open Site Menu Close

Reusable Content

Why can't I unlock an asset?

Form and gallery assets are permanently locked to site, because of their database and image capabilities respectively.

Can I put an asset inside a component?

Yes and no. An asset chooser can be used as a form field for a component, but assets cannot be inserted into the component source code.

Can I put a snippet inside a component?

No.

Can I put a component or an asset inside a snippet?

Once a snippet is placed on a page, you can enter any kind of reusable content inside the snippet. However, depending on the snippet design, this may lead to unexpected results.

I placed my asset/component/snippet on a page, and now the page has a rendering error.

Any code inserted into a page, such as source code assets or the source code of a component or snippet, must either be XML-compliant or appropriately encoded, as it will be processed with the page XML before page publish.

Some common errors are:

  1. All tags need to be closed.
    Unlike HTML, all tags in XML must close, either as self-closing tags or full tags.
    • <img /> or <img></img>
    • <br />
    • <hr />
    • <link /> or <link></link>
  2. Boolean attributes must have a value.
    HTML has some attributes which are considered boolean, meaning the attribute can be listed without a value. XML requires all attributes to have associated values, so add a value repeating the name of the attribute.
    • async="async"
    • hidden="hidden"
  3. Special characters must be encoded.
    XML treats certain special characters in a unique manner. Any instances of those characters which appear in page content need to be encoded appropriately.
    • < &lt;
    • > &gt;
    • & &amp;
    • © &copy;

By continuing to use this site, you agree to the storing of first- and third-party cookies on your device to enhance site navigation; analyze site, product, and service usage; and assist in our marketing and promotional efforts. Cookie Policy