MyBB Community Forums

Full Version: id="forum_cat_{$forum['fid']}
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So my question is basically the same as in this thread here.

I want to change the ID of the body tag in the forumdisplay template to have the corresponding fid, however, when I add the following code to the body tag:

id="forum_cat_{$forum['fid']}

The id of the body changes to "forum_cat_" without the number of the fid. Why is that happening and how can I fix it?
you can use {$fid} instead of {$forum['fid']}
Worked perfectly well, thank you very much.
Thread can be closed.