help.sitevision.se always refers to the latest version of Sitevision

Panels Snippets

Here you can lay out entire code blocks for scripting or custom-rendering by using a custom Velocity template.

Snippets

Inherited assets

Inherit assets

Here you can choose whether the assets applies only to this page or is inherited by underlying structure. By default, the add-on is inherited by the underlying pages.

There are no inherited assets displayed if this page does not inherit an assets. If the page you selected inherits some assets, they will appear in a list.

Assets

When you open the panel, you will already see added snippets (if any). Click on the Add snippet link to add an asset.

This function requires you to have "Manage developer functions" permission.

In SiteVision 4.1 we have separated “Add-on in head” that you previously created on the website. We now recommend that you add CSS add-ons and JavaScript add-ons to the templates where you want the inserted code. The add-on accompanies to all pages and templates that use that template. This way, these add-ons are not included on all pages, but only on pages where they are needed.

You can also make local add-ons on individual pages. These add-ons only apply to that page, it is not inherited further (if you do not want to). Here you can choose between:

The Snippets panel can be found on the items:

  • Properties for a page
  • Properties for a group page

The page published:

Did the information help you?