1. Knowledge Base
  2. Smart Content
  3. 02. Configuration & Implementation

Use Smart Rules in the SiteManager CMS

Learn how to add a smart rule and logic to content inside the SiteManager visual CMS

First you need to finish the smart rules configuration and implemented them in the code of the projects we can start using them in the CMS. 

1. Smart Rules Examples

In this example we are adding smart rules on the page properties from the homepage. Click New Rule to add a new smart rule.

smart_rule_box

Depending on the configuration you will be able to add one or more of the following smart rules:

 

1.1. Access (behavior) Logic

Make sure Access Logic is selected. Select the Group you want to apply the logic to. 

You have two behavior options: show content when visitor is in group or show content when visitor is NOT in group.

smart_rule_modal_access

You can change the behavior by clicking the ⋮ icon. You can also delete the rule you set. 

You can set one smart access (behavior) rule per group.

smart_rule_behavior

 

1.2. A/B Testing

Make sure A/B testing is selected for Smart Type. Select the group and set the percentage for the occurence of this trigger.

smart_rule_modal_ab

Always make sure the total percentage of all the smart rules for one set is exactly 100%. If this is not the case the A/B testing will not trigger and an error will be shown.

smart_rule_ab

Advanced tip: If you want to add a visitor in a group by visiting a certain page you can do this by adding a public parameter when entering this page (see configuration 2.2.). However if you don't want to use a parameter you can always add an A/B testing smart rule and set the group to 100% achieving the same effect.

 

1.3. Time Logic

Select Time Behavior as the type of smart rule you want to add. You will also see the timezone that was set-up in the smart content configuration.

smart_rule_modal_time

You can choose to set a start and or end date. You can also ignore this and use time only.

smart_rule_modal_timedate

 

You can choose to set a start and or end time for your smart rule.

smart_rule_modal_timehour

When a time rule is set you can see if the rule is currently visible or invisible. Click the ⋮ icon to delete the rule. 

smart_rule_time

 

2. Smart Rules locations in the CMS

Depending on the configuration and implementation of Smart Content it is possible to find the smart content rules in these places:

smart_rule_box

2.1. Pages

When you go to page management and click on the settings icon of a page you will see the smart content rules box.

smart_location_pages

2.2. Content Section

When you open the options menu of a content section you will be able to see the smart content.

smart_location_section

 

2.3. Page Content input field

When you edit page content it's possible the smart content input field has been added here.

smart_location_contentinput

 

2.4. Layout Content input field

When you edit layout content it's possible the smart content input field has been added here.

smart_location_widget_input

 

2.5. Database Entry and/or input field

 Smart content rules could've been added to the set-up of your database entry.

When you edit database content it's also possible the smart content input field has been used here.

smart_location_database