custominsation-large.jpg

Use fewer design customisations

By Ladoo posted on 26 Jun 2012

Matrix Design and Design Customisations offer a great degree of flexibility in how an HTML design can be created and modified. They are so powerful in fact, they tend to be overused and can become real roadblocks for productivity when best practices for using Designs are not followed. The three main problems with Designs and Design Customisations are:

  1. Designs don't scale.
  2. Designs require more user training and more user permissions.
  3. Designs don't support safe edit.
Let's explore each of these issues in detail.

1. Designs don't scale

Designs don't scale well, because there is a limit to the number of Design Customisations a single Design can handle, depending on the resources available to your system. Additionally, Design Customisations are often slower to work with than other assets. A single Design should not be used for a group of sites - or worse - an entire system, because:

  1. If a large group of assets rely on a single Design, that Design file becomes a single point of failure. This means a trivial error when modifying your Design, has the potential to affect an entire website.
  2. You don't have complete control over Design Customisations. If a change is made to a top level Design Customisation or the Design itself, any child Design Customisations could be affected - or worse - removed.
  3. A single Design File will ultimately become more complicated than multiple Design Files would, because of the numerous Design Areas that are required.
The solution to this problem is to use more Designs and fewer Design Customisations. Try and limit the number of Design Customisations to as few as possible. In the rare case where a large number of customisations are required, consider splitting the Design into two.

Body classes

A good way to avoid additional customisations is to assign a class to the <body> tag, which allows small changes in a Design such as different colour schemes, background images, or layouts, to be created using CSS. For example, by applying a class to the <body> tag, we can add different background images to the <h2> element on each page, turning this:

first 

Into this1:

or this2:

second

third

If kittens and puppies aren't your thing, consider that any style can be changed using this technique, which could affect anything from the font size and colour of a heading, the border, margin and padding of a paragraph, or even the positioning of any element on the page. If you have sections of your site that need their own identity, this is the way to do it.

In the above two examples, the HTML and CSS used to present these identities were:


Comments


  1. Avatar
    07 Jun 2013 12:51pm Scott Hall
    If your a regular user of Squiz Matrix and get your sleeves dirty in Designs, knowledge around this is a must.

    I often get asked the question, why/when to use metadata design controls over using new design customisations, and the answer differs for each client and where they may head with their designs. It's one of those things you eventually understand during your travels as a new implementer, but takes a while to fully get.

    Some supporting information from our own forums over the years, which is great to get your head around:
    -- 'Limit to Number of customisations?' http://forums.squizsuite.net/index.php?showtopic=8617
    -- 'How many Design Customisations is too many?' http://forums.squizsuite.net/index.php?showtopic=8483
Post a new comment Post a new comment

Build your own search

By Ladoo posted on 20 Oct 2011

You can create your own personal Search Page to assist with locating and editing the content you look after. This can be especially helpful in larger systems where quick search becomes less accurate.

Unfolding the Asset Map

By Nathan Cram posted on 16 May 2009

The Asset Map shows the hierarchy of the assets that comprise your website and allows you to manage them.

Sharing content

By Ladoo posted on 29 Apr 2012

An examination of the pros and cons of different sharing techniques within Squiz Matrix.

Hiding web paths

By Ladoo posted on 24 Jan 2012

If you have a group of assets that only exist for the purpose of appearing in a list, you ideally don't want these assets to be accessible to the public at all.

Release notes for Matrix 1.2

By Anton Babushkin posted on 16 Jul 2013

You can create your own personal Search Page to assist with locating and editing the content you look after. This can be especially helpful in larger systems where quick search becomes less accurate.

Squiz Matrix Keyboard Shortcuts

By Nathan Cram posted on 18 May 2009

Keyboard shortcuts can save you time when working in the administration interface by helping you quickly move around the asset map.