General developer forum

how to add select bar

 
Picture of behnaz ranjbar
how to add select bar
 

hi,

how can i add select bar to a moodle page that should be connected to moodle database? I couldn't find any plugin such that and because i'm new with this lms i'm not capable of writimg a plugin for it.

 
Average of ratings: -
Picture of Dave Emsley
Re: how to add select bar
Particularly helpful Moodlers

Can you expand on what you mean by a select bar, it's not really clear.


Cheers

Dave

 
Average of ratings: -
Picture of behnaz ranjbar
Re: how to add select bar
 

tanx

like downloads>plugins page of moodle.org .if you look that page you will see that for selecting moodle version and plugin type you have a drop down list. i mean this and examples like this..from moodle own configurations you can choose a combolist view for you category or course but it looks different...and would you please answer another question?how we can show a course or category in just on page and not in front page?

 
Average of ratings: -
Raymond
Re: how to add select bar
 

Hi Behnaz,

From what I understand, you're most likely looking for a way to build a form, with the select tags in it. Try familiarising yourself with Moodle's Forms API, which can help you with building forms.

https://docs.moodle.org/dev/lib/formslib.php_Form_Definition#select 

 
Average of ratings: Useful (1)