Elements - Set Min/Max Count

Enabling your client to duplicate or remove content by himself

When using Sitejet you are not only able to create beautiful websites for your customer, it also enables you to grant access to your client and determine which elements can be edited. This usually works best with texts and images that can be replaced and edited. But it's also possible to make whole sections editable and enabling your client to duplicate (and edit afterwards) or remove these sections. This is where the minimum/maximum count comes into play. 

You find these settings when activating any element (using double click or selecting and hitting [ENTER]) and scrolling down to Settings. 

  • The minimum count determines how many of the chosen elements are supposed to be the least possible amount
  • The maximum count determines how many of the chosen elements are supposed to be the most possible amount

In this example we want to duplicate this section a second time at most, but never less than one. So by setting minimum to 1 and maximum to 2 we get a little icon next to the section we want to duplicate. As we can see, for now we only have the option to duplicate. Unlike most settings and options that are hidden for the clients, they will be able to see these icons and work with it once it is editable for customer (you can activate the option by right-clicking the desired element > Is editable for customer)

When duplicated we get some more options. In this next case we reached the maximum amount that we set.

The options we get now are Deleting the element and Moving the element up or down, switching places with the one before or after the selected element. As you can see there is no more option to Duplicate, since we've reached the maximum amount already. 

Example:

A good example for using this is a news area on the website. Suppose your customer wants to add and delete news and information by himself. You can create a section that is editable for the client and set the maximum amount to a high number. Inside the section you can add headline elements, text elements and perhaps an image, all of which are set to editable. This way your client can duplicate a section (and remove it again) and edit all texts and images within. Duplicating elements (e.g. images) and rearranging them within this section will work, too. Make sure to set the maximum amount to a number that still works with the overall layout. By setting the minimum amount to 0 it can be removed altogether. 

Video example

Still need help? Contact Us Contact Us