Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Don Jajo - maaliskuu 02, 2014, 01:58:06 AP

Otsikko: Function to show board list in select button
Kirjoitti: Don Jajo - maaliskuu 02, 2014, 01:58:06 AP
Hi,
Am integrating an external page to smf, please am looking for the function that shows list of boards in a select button type. Like the one in the admin cp when managing the boards.
Thanks
Otsikko: Re: Function to show board list in select button
Kirjoitti: emanuele - maaliskuu 02, 2014, 08:26:43 AP
You should be able to use getBoardList, but if you are planning to use it on every page, you may want to try to use the jump_to javascript-generated.
Otsikko: Re: Function to show board list in select button
Kirjoitti: Don Jajo - maaliskuu 02, 2014, 08:59:01 AP
I'll be using it on a page only. Thanks :)