How to use the CMS Tree extension?
The CMS Tree extension will retrieve all your existing CMS pages and will add them under a root page. The latter will be considered as the store view homepage. In the case where you have multiple stores configured, pages will be added to your existing stores respectively.
With CMS Tree, you'll then be able to manage your content pages as a tree structure, as well as permissions and 301 redirects.
STEP 1: Configure CMS Tree in a general way
You can first check that the default CMS pages are correctly configured for your store in:
Once this is done, you can configure the extension in a general way in:
- Enable Permissions
Activate that option to restrict access to CMS pages for specific customer groups.
- CMS Not Allowed Page
If the above condition is enabled, you need to choose the page to which the user will be redirected if they do not have access to a CMS page.
- Create Permanent Redirect for URLs if URL Key Changed
You can create permanent redirection if the URL key of a page has changed.
- Include Pages in Navigation Menu
You can include all your pages in the navigation menu.
- Confirm change of store view
This will display a popup every time you want to switch store view in:
- URL suffix
It can be:
- Redirect Non-Suffixed URL
If a page URL is requested without the configured suffix above, a 302 redirection will be made to avoid possible duplicate content.
STEP 2: Manage your content
To manage your CMS pages, go to:
The display of your pages is different from the default behavior of Magento. You should get a tree view of all your CMS pages on the left and the configuration of the current page on the right.
You can manage the CMS pages as you would do for your categories and use the Drag and Drop option to define different page levels and dependencies as in the below example.
Include your pages in the navigation menu
For each CMS page, you'll be able to add the link directly to your navigation menu.
In the Page information tab when configuring a CMS page, you should find the Include in Navigation Menu option. If you set this option on YES, then the page link will be added to your front-end navigation menu.
Note that this option will be ignored if the default configuration is set to NO, in:
CMS Tree allows you to handle versions for each one of your CMS pages.
In the Page information tab when editing a CMS page, define the Manage Versions option on YES to handle versions on this page.
Once the versions management is enabled, you'll find all the versions of the page in the Versions tab. You'll then have the choice between:
- Restore the version
- Preview the page
- Delete the version
Duplicate your pages
You have the possibility to duplicate your pages to different store views.
For this, when editing a CMS page, click on Duplicate To. A popup is displayed.
Choose to which store view you want to duplicate that page and tick Include Children if you want to duplicate children pages as well.
After having clicked on OK, the duplicated page will be displayed as a copy in the store view you've chosen.
STEP 3: Manage permissions
The CMS Tree extension allows you to limit the access to your CMS pages to customer groups and for each store view.
To manage the permissions, go to:
There, you can define permissions following 3 easy steps:
- Choose for which store view you want to apply permissions
- Choose for which customer group you want to apply permissions
- Unselect the pages that you don't want the above customer group and store view to have access