πŸš€
Uniweb CMS
English
English
  • Uniweb CMS
  • πŸ’«Let academic websites build themselves
  • Guides
    • ☁️How to manage content with profiles
    • πŸ“°How to create content-first websites
  • Video playlists
    • ▢️Content management and website building
    • ▢️Feature walkthrough
    • ▢️Website template creation
  • Advanced Use Cases
    • 🎨How to create website templates
      • πŸŽ‹Design starts from data
        • 1️Creating logical data paths
        • 2️Planning for exceptions
        • 3️Defining clear, logical rules
        • 4️Other data design elements
      • πŸ—ΊοΈThink about the viewer's path
      • πŸ—ƒοΈFilter options, defining ranks for content, and more
      • πŸ–ŒοΈThe design process
      • πŸ› οΈUniweb Launchpad
Powered by GitBook
On this page

Was this helpful?

  1. Advanced Use Cases
  2. How to create website templates
  3. Design starts from data

Defining clear, logical rules

PreviousPlanning for exceptionsNextOther data design elements

Last updated 2 years ago

Was this helpful?

In the case where there is just no information on a profile that fits we need to come up with a rule that defines what to do in this case. The simplest way to do this is to simply create a rule that says: "if this section is missing, don't show it and resize the section to fit the content that's there."

Whatever the rule may be, it must be communicated to the developers using this card:

There are many more uses of rules then just defining what happens when a section is empty

A good example is character limits. The default rich description field is 5000 characters which could be long for a website. You could implement a rule that limits the section to 1000 characters and then adds a read more button at the end of it which expands to show the whole content.

Each rule must have:

  • The condition for the rule to be applied (if the content contains more than 1000 characters)

  • What happens when the rule applies (cut off content at 1000 characters, show read more button which reveals the entirety of the content)

Try to keep these rules as simple as they can be, it'll help in lots of ways and avoid misunderstandings during development

🎨
πŸŽ‹
3️
Rule card