Each project page can display a "Support forum" link. What is the best way to point that link to a specific user forum. Looking in the project.inc file I see:

$links[] = l(t('Support forum'), variable_get('project_support_forum', 'forum/18'));

But I'm unsure how to set the project_support_forum variable from the GUI.

Thanks,
Jesse

Comments

moshe weitzman’s picture

there may be no gui for this setting. in that case, you may set this variable in your conf.php (or settings.php in HEAD). you do so like this

$conf['project_support_form'] = 'foo';

Jesse Grosjean’s picture

Thanks.

Jesse

urbanfalcon’s picture

$links[] = l(t('Support forum'), variable_get('project_support_forum', 'forum'));

If the varialbe 'project_support_forum' isn't set in a form somewhere, the default should be 'forum' and not a specific forum number. That'll just send it to the forum main page, and not to what may potentially be the wrong or a non-existent area. Just MTC.