Fork me on GitHub

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
You should grab 2.1.9, released 18 March. It's what all the cool kids are doing.

[Solved] Category is blank after upgrade Vanilla Vanilla 2.0.18

saturngodsaturngod New
edited November 2011 in Vanilla 2.0 Help
I can't choose the category after upgrading 2.0.18



  • I use custom form in


    code is

    echo $this->Form->Label('Discussion Title', 'Name');
    echo $this->Form->TextBox('Name', array('maxlength' => 100));
    if ($this->ShowCategorySelector === TRUE) {
    echo '';
    echo $this->Form->Label('Category', 'CategoryID');
    echo $this->Form->DropDown('CategoryID', $this->CategoryData, array('TextField' => 'Name', 'ValueField' => 'CategoryID'));
    echo '';
  • fixed

    echo $this->Form->CategoryDropDown('CategoryID', array('Value' => GetValue('CategoryID', $this->Category)));
Sign In or Register to comment.