# Put somewhere in the index.tpl of advanced theme tag for related pages output:
<inp2:m_RenderElement name="platform/elements/content_boxes/related_items.elm" design="blue_box"/>
# Open front-end index page with debug mode on.
# Confirm that no SQL error happens.
# Add "**?m_cat_id=n**" to the URL of index page, where **n** is Id of some category, which has related categories.
# Load page with URL from previous step.
# Confirm that made correct output of related pages.