My Market Toolkit Support for Content Management (CMS)

My Market Toolkit's Content Management System (CMS) is very flexible and can easily manage websites that consist of a single page as well as websites that contain thousands of different pages.

There are a few concepts to learn, but once you have a good understanding of these, you'll be able to maintain any website with ease, regardless of how big it gets.

Getting Started

Don't Repeat Yourself or "DRY"

My Market Toolkit (MMT) was designed with the concept of DRY in mind. Anything on the website that shows up on multiple pages should be placed in one location and then included into the appropriate templates. This way, if you need to make a change, you only have to make the change once and it automatically updates throughout the site.

Break down your template into different sections

Every good website has consistent elements on the page such as where the logo, navigation, content, and footer are located. Consider the following graphical representation of an example website layout:

In this graphic, you can see elements such as the branding area, menus, contextual navigation, content area, etc.

Once you understand the building blocks of your website layout, you can begin to break them up into smaller chunks, which in MMT are called KBlocks.  Using the example above, we would create a KBlock for each of the red boxes and include those KBlocks in our template.

Templates vs. KBlocks

A website often has different layouts. Some pages might have 3 columns, some pages might have 2, and some might have just 1. Calls to action and bugs might be present on landing pages, but not on support pages. The menus might be different depending on where you're at in the site.

Because of this, we recommend that you keep as much of the page structure in the template as you can, but each section of content is contained in a KBlock. This way, if you need to remove a column or move a bug for a certain set of pages, it's simply a matter of creating a new template with a different structure. However, the content is still maintained in one place.

KBlocks, KMods, KVars, and KApps

These 4 concepts are similar in that they represent sections of content, but they differ in their function.

KBlocks - are the building blocks of a webpage. They are how you "include" static text within your template.

KMods - are functional elements or "modules" of your website. There are many different KMods such as blog lists, menus, product page layouts, etc.

KVars - are variables that you can include on your page. They are similar to KMods but are generally not configurable.  These are things like displaying the current year or a person's username.

KApps - are external applications that are tied to My Market Toolkit via an API. If you need functionality that My Market Toolkit doesn't provide, it's possible to build a custom solution that ties into MMT.

Content Delivery Network and Web Files

My Market Toolkit uses a sophisticated content delivery network for static files such as images, JavaScript files, and CSS files. It is important to know that images are not loaded into the images folder, rather to an external resource.

Help Articles

Tips