Table of Contents

Swift configuration

One of the key concepts for Swift is that you use configuration - and no code - to do many things. By configuration we mean the act of using the administration interface to control how the solution behaves - e.g. setting the apple touch icon for a solution in the website settings:

ConfigExample

In this article we will cover in overall terms where you can find configuration options and what they do.

Website settings

A solution's website settings are used to configure website-wide features and properties. To access the website settings of a solution you use the context menu in the content area tree.

WebsiteSettings

Website settings are organized in tabs:

  • General - set the website name, icons, link solution to cookie notice policy pages, etc.
  • Layout - set the default page template, header/footer pages, and default styles
  • Ecommerce - set default shop, product language, currency, country, etc.
  • Meta and API keys - set API keys to e.g. Google Tag Manager, Google Maps, OpenGraph, Twitter, etc.
  • Domain and URL - set up domain names, 404 page, etc.
  • Advanced - set settings-focused item types, enable https, robots.txt

Some of these settings (and tabs) are standard in DynamicWeb 10 - others are Swift-specific and added to the solution using an item type called ItemType_Swift-v2_Master.xml as described in the architecture article.

Page settings

All page types in Swift feature a set of page settings which are used to configure or tweak page behavior. The easiest way to access them is to use the gear-icon in Visual Editor-mode: PageSettings

Like website setting, page settings are organized in tabs:

  • General - set the page title, icon, control submenu type, or set a custom color scheme
  • Layout - select a (non-default) layout template or set a custom content type (advanced)
  • SEO - set meta title, description, keywords, and other SEO-related properties. Customize page URL.
  • Publication - change publication state, set navigation-related properties like clickable, or convert to a shortcut
  • Advanced - set a navigation tag, override https-settings on this page, and other advanced features
  • Ecommerce - activate ecommerce-navigation on this page (advanced)

Most of the settings are standard DynamicWeb 10 settings - the few which aren't are added to Swift using an item type called ItemType_Swift-v2_PageProperties.xml as described in the architecture article.

Other configuration options

Most other content elements in Swift - e.g. Row types, paragraph type and product components - also feature settings for configuring how they work and behave.

They are configured as part of the content creation flow and are described elsewhere in this section.

To top