We have been offering HTML snippets (and training in how to use them) in the Content Management System for some time. A snippet is a reusable piece of code that can be inserted in a webpage, so that you don’t have to re-enter it all again.

The snippets gallery in OpenCms

The snippets gallery in OpenCms

OpenCms gives you a preview of what the piece of code will look like when displayed in a browser.

The ones we developed previously were for use with the old site template. Now that we have developed the new-look template, however, it needed different design elements, and hence a new set of snippets.

So I went through the new study website and found all the presentation elements, and added them to a new gallery.

A lot of them had been designed for a specific context, so it was sometimes difficult to come up with generic text to put in them; in these cases, I used the text from the context for which they were designed.

Comments

No one has said anything yet.

Leave a Comment

© Copyright University of Bath. All Rights Reserved.