Skip Navigation

Code Fragment

Code Fragment Component

When working within the Content Parsys all web components must first be placed inside of a Section Component

The Code Fragment component is typically used to embed special content into your web page. It allows you to insert external elements that require custom code or scripts.

Usage

  • Embed third-party forms
  • Add Google maps
  • Include widgets or custom HTML not supported by other components

 

How to Add the Component

Click within a section component to insert new components.

  1. Click the + icon

  2. Choose Code Fragement
arrow pointing to the + icon on the component menu and another arrow pointing to the Code Fragment control on the insert new component menu

How to Configure the Component

  1. To start using the component, click anywhere on the component and a menu will appear.

  2. Click the wrench icon to enter configure mode.
An arrow pointing to the wrench icon on the configure toolbar.

Working within the Component

  1. Paste your code into the text window

  2. Click the check mark to save your changes and close the window. To cancel without saving, click the X.
The code component properties showing sample code in the text field and the check mark for saving changes.