World is now on Opti ID! Learn more

Helén Alseby
Feb 14, 2014
  3308
(0 votes)

Organizing blocks

A question has been raised among editors if there is a best practice on how to organize the blocks in the folder structure.

Unfortunately there is no simple answer on that question, so I will show some examples of possible ways to organize the blocks. As an editor you might not want the blocks to be organized in the same way as your pages. Hopefully you will find a way to organize your blocks using any of the alternatives below, or even combining several of them.

Before you start, the following facts applies to blocks:

  • The folders are listed in numeric and alphabetic order in the folder structure.
  • From EPiServer 7.5 blocks and media files share the same folder structure, which is not the case for EPiServer 7/7.1.
    EPiServer 7.5 Commerce also has products as assets.
  • From EPiServer 7.5 blocks and folders can be moved or copied through drag and drop, also through keyboard shortcuts
    (note that this action also affects media as they share the same structure).
  • From EPiServer 7.5 the folders for blocks and media files are organized in several levels.

Start – Deciding where to organize the blocks and media files

In EPiServer 7.5 there are blocks and media files that can be used globally for all websites in a multi-site environment, for the current website, locally on the page or block you are working on. And they share the same folder structure. In EPiServer 7/7.1 the blocks and media files have separate folder structures instead.

No matter which version you are working with, decide on which level in the folder tree to organize them.

If it is a news page that is to be archived after two days, you might want the images and documents to be stored with the page.

If it is a market campaign or release, you might want the page with the images and documents to be accessed from a more central place in the folder structure.

Alternative 1 – Naming the folders

clip_image001

Arranging the folders by name is the simplest alternative to create a structured order. By naming the folder you are using most often with underscore ‘_’, figure ‘1’, or letter ‘A’ first, will make this folder to end up at the top of the folder structure. Inside each folder you can arrange the blocks by naming them in a similar way as for folders.

Alternative 2 – Grouping the blocks to folders by usage

You can group the blocks to folders by their type of usage, for example, “Campaigns”, “Banners”, “Buttons”, “News” etc. A folder named “Contact” for blocks containing a contact form, and “Startpage” for blocks that are only used on the start page.

Alternative 3 – Grouping the blocks to folders by brand or product area

You can group the blocks to folders by product areas, such as “Kitchen”, “Bathroom” or even product name level for counters, tiles, sinks etc. If you run a website with multiple “tenants”, you might want to group into brands.

Alternative 4 – Grouping the blocks to folders by language

You might prefer to distinguish the blocks to folders by language to keep track of them, especially if you are running culture-specific campaigns with images.

Alternative 5 – Grouping the blocks to folders by access rights

If you are several editors working with the content on the website, you might have access rights to specific parts of the page tree. Therefore you also might want to have your own folders in the block tree as well.

Issues that can occur when using nested blocks

Some editors use nested blocks, which can cause difficulties in naming and grouping the blocks as well as translating the content in the user interface. When using EPiServer 7.5 it is possible to move blocks and media files around in the folder structure through drag and drop, but in 7 and 7.1 it is not.

Feb 14, 2014

Comments

Please login to comment.
Latest blogs
Make Global Assets Site- and Language-Aware at Indexing Time

I had a support case the other day with a question around search on global assets on a multisite. This is the result of that investigation. This co...

dada | Jun 26, 2025

The remote server returned an error: (400) Bad Request – when configuring Azure Storage for an older Optimizely CMS site

How to fix a strange issue that occurred when I moved editor-uploaded files for some old Optimizely CMS 11 solutions to Azure Storage.

Tomas Hensrud Gulla | Jun 26, 2025 |

Enable Opal AI for your Optimizely products

Learn how to enable Opal AI, and meet your infinite workforce.

Tomas Hensrud Gulla | Jun 25, 2025 |

Deploying to Optimizely Frontend Hosting: A Practical Guide

Optimizely Frontend Hosting is a cloud-based solution for deploying headless frontend applications - currently supporting only Next.js projects. It...

Szymon Uryga | Jun 25, 2025

World on Opti ID

We're excited to announce that world.optimizely.com is now integrated with Opti ID! What does this mean for you? New Users:  You can now log in wit...

Patrick Lam | Jun 22, 2025

Avoid Scandinavian Letters in File Names in Optimizely CMS

Discover how Scandinavian letters in file names can break media in Optimizely CMS—and learn a simple code fix to automatically sanitize uploads for...

Henning Sjørbotten | Jun 19, 2025 |