Jamroom Logo
Newsletter
Member Spotlight
302260
Wav-Etrain.com
"Jamroom has made easy work of setting up a music-oriented website. After working on some internet music collaborations, I wanted to find an easier way of managing files/correspondence messages. I searched for websites offering such services and found none. So I decided to create one. Jamroom was the first all-in-one package I found. It's extremely flexible, easily editable (I particularly like the built in template editor), and a breeze to manage. Thank you for a wonderful product!"
Follow Jamroom on Twitter!


jrTableColumns Function Index htmlPagePager
htmlChooser

The htmlChooser function is used to create a "tabbed" setup in the Control Panel form.tpl element name: form_page_tabs

  • return: Returns true
bool htmlChooser (array $_data, [string $target = '_self'])
  • array $_data: Elements to create tabs for
  • string $target: Target HTML target window for anchor links created in tabs
 Comments
ussher, 12/17/08 22:47:48:

sets up a page selector like is used in the modify quota section
//set up the available link locations

$_data[1]['text'] = "Page 1";

$_data[1]['link'] = 'your_module.php?mode=page_1';

$_data[1]['active'] = true;

$_data[2]['text'] = "Page 2";

$_data[2]['link'] = 'your_module.php?mode=page_2';

$_data[3]['text'] = "Page 3";

$_data[3]['link'] = 'your_module.php?mode=page_3';

//draw the created links into tab like options.

htmlChooser($_data,'_self');

You must be logged in to post a comment
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom Core
Jamroom Addons
Jamroom Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2012 Talldude Networks, LLC.