Alternate Content Types don't show in forums

nicholas.alipaz - February 19, 2009 - 12:35
Project:Nodeforum
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

If the admin specifies more than one content type as an option for posting in the forums then both content types should show on the forum lists.

Around line 945 in nodeforum.module you find the Post new forum topic option, but it should also give the option for other enabled content types.

<?php
     
// Link to post new forums, or to login/register
     
if (user_access('create forum topics')) {
        if (
$tid) {
         
$new_topic_link = l(t('Post new forum topic.'), "node/add/forum", array('query' => "section=$tid"));
        }
        else {
         
$new_topic_link = l(t('Post new forum topic.'), "node/add/forum");
        }
      }
?>

#1

gravisrs - August 12, 2009 - 22:32

Nodecomment supports - in opposition to regular forum module - only one content type 'forum'. I hope someone will ever put that functionality.. but as long as it requires to rewrite all sql's.. we can only dream about it..

 
 

Drupal is a registered trademark of Dries Buytaert.