Log inRegister

Function: RenderCreateNewTopicDropDown

Renders a drop-down menu for creating new topics.

Documentation

Renders a drop-down menu for creating new topics.

Parameters
  • None

Css

Implementation

%STARTINCLUDE% <form action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%BASEWEB%/CreateNewTopic">
*Post New:*  <select name="type" onchange="this.form.submit()"> 
~~~   <option value="%URLPARAM{"type" default=""}%">%URLPARAM{"type" default="Select..."}%</option><option >Blank Topic</option> 
~~~   
%~~   DBQUERY{ "Classification= 'TopicType'" 
~~~        web="%BASEWEB%" 
~~~        format= "<option value=\"$topic\" >
*~~              $percntSPACEOUT{$topic}$percnt</option>" 
~~~        separator=" "
~~~    }%</select>
~~~    <input type="hidden" name="step" value="two"> 
~~~    </form>
%STOPINCLUDE%

Test

Post New:

Calls to 'RenderCreateNewTopicDropDown'

(C) 2006 LynnwoodBrown@Skyloom.com

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. For more details read the LICENSE.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Skyloom Wiki? Send feedback
Syndicate this site RSS

This website is using cookies. More info. That's Fine