* Rationale: it allow to modified the title display of topic title. by passing this hook, it can be used to re-write the actual URL to be more clean by hook it into SEO MODules (seo MODX). also rest MODX such as topic title can easily altered to add tag like [SOLVE], [REQUEST]. also it can capable feature MODX to create auto-topic title by applying any TOKEN based on forum or scheme provide such as date, user create or rest.
* Placement: include/posting.php, viewtopic.php, viewforum.php
* Input arguments: $title, $recursive = null (this will include an array to altered or will be addon by other MODX), $permission
* Output format: $topic_title, $forum_title
* Output semantics:
Code: Select all
$posting_title = hook_topic_title($posting_title, $recursive = null, $permission);
* Related: hook_topic_row, hook_forum_row