Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: 1.0 RC – How to force all post into 1 category?


frooyo
Member

@frooyo

@Sam

Thanks for the 1.0 release !!!

Quick question. I don’t believe what you changed in the core is still the desired result.

I only have 1 forum, and that forum is called = “All”.

I have the following code in my post-form.php template

<label for=”forum_id”>Category:

<?php bb_new_topic_forum_dropdown(); ?>

</label>

It’s printing/echoing to the screen the forum name (“All”) –> see image below

http://img22.imageshack.us/img22/4105/categoryy.png

The generated HTML is:

<label for=”forum_id”>Category:

<input type=”hidden” name=”forum_id” id=”forum-id” value=”1″ /><span>All</span> </label>

It seems to me that if someone only has 1 forum, that you should simply have the hidden input and NOT print the forum name in any SPAN element at all.

Do you agree?

Skip to toolbar