Jump to content

Documentation on building form elements

Featured Replies

Posted

There are methods in ipb that help you build form elements. For example in ip.gallery you build an array of forums and then there is a method to build and display a drop down in the acp form. Can we get documentation on all of these form elements. I get the drop down one, but I haven't checked of there are others like a multi select box (which is what I'm after :S). You know...the usual business with documentation...showing that these things exist and explaining the proper way to be using them. Also I haven't checked but I would like confirmation on if these can be used on the public side as well..

Again I haven't looked at it closely at all... It might have been that that drop down thing I'm referring too was only meant for forums in order to build the nested categories...

Also I haven't checked but I would like confirmation on if these can be used on the public side as well..

No, those methods are defined in adminOutput, and are undefined in publicOutput.

There are methods in ipb that help you build form elements in the ACP.

Checkbox Dropdown Multi-Select YesNo Upload Textarea Input

  • Author

Ocool. Like I said I didn't look at them closer. :P Thanks, that works for me. You should still do this if you're bored though Brandon. Let's new developers know what's available to them... Or something. Idk.

  • Author

formMultiDropdown doesn't make sense. What's a multi drop down? It's a multi select box. I demand that the name of the function be changed. This is a very very serious bug.

Just kidding. Please don't kill me. :p

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.