For the online learning world


Moodle Tech Tip – customising the forum post subject line

Do you ever wish you could change the title of Forum posts from Moodle?

Usually when forum subscribers receive emails from Moodle Forums, the subject line is of the form Course short name + Subject of post.

So it looks like this:


But notice that it doesn’t have the actual course name?

That could be confusing when learners are active in multiple courses eh?

But it’s a little known secret that the subject line can be changed – for example to:

Course short name + Forum name + Subject

Administrators can do this by going to:

 Site administration > Language > Language customisation

and then in the forum.php file changing the string:


For example changing this to:

{$a->courseshortname} {$a->forumname} {$a->subject}

Will result in the following:


Pretty cool and very useful eh?

Stuart Mealor
Latest posts by Stuart Mealor (see all)

Stuart Mealor

Stuart is interested in all things e-learning, with specific interests in Moodle, e-learning strategy, and business development. His experience in education over 30 years, MBA in International Business, and knowledge of e-learning systems implementation, together with graphic design background, give him a unique skill set for e-learning projects.

Add a reply or comment...