Controllers do not set contentKey


Well-known member
Affected version
\XF\Mvc\Reply\AbstractReply has a nice method setContentKey, the set content key does get passed through by default to PAGE_CONTAINER

This could be an easy approach to identify the content (in template conditionals, etc.) - but unfortunately only XF\Pub\Controller\Thread does actually set this which does make it much less useful as it is empty (for everyting except threads).

Could this be changed so controllers like
  • XF\Pub\Controller\Category
  • XF\Pub\Controller\Conversation
  • XF\Pub\Controller\Forum
  • XF\Pub\Controller\Help
  • XF\Pub\Controller\Page
  • XF\Pub\Controller\SearchForum
  • XF\Pub\Controller\Tag
  • XFMG\Pub\Controller\Album
  • XFMG\Pub\Controller\Category
  • XFMG\Pub\Controller\Media
  • XFRM\Pub\Controller\Category
  • XFRM\Pub\Controller\ResourceItem
do actually set this?