- 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
- Repository
- rINP In-Portal
- Branch
- /in-portal/branches/5.2.x
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 91 Build 91: arc lint + arc unit
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. |