- 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.
Details
Details
- Reviewers
alex
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
core/kernel/db/cat_event_handler.php | ||
---|---|---|
509 | Instead we need to check if actual $p_item was loaded from database and if it wasn't then we basically:
Also repeat that change in other Event Handler. |
Comment Actions
Adding comment to create corresponding "Issue Link" from JIRA Issue back to this Differential Revision.
core/units/categories/categories_event_handler.php | ||
---|---|---|
423 | Remove this, because you've moved this variable declaration up to 402 line. |