Solved Controllers do not set contentKey

This topic has been solved
K

Kirby

Guest
\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...

Read more

Continue reading...