Recent Topics

Plugin Settings, Just note fields

Started by on Jun 29, 2006 – Contents updated: Jun 29, 2006

Jun 29, 2006 23:40    

What i'm requesting is the ability to do this;


	function GetDefaultSettings()
	{
	
		// Set the Settings
		return array(
		
			'Introduction' => array(
				'label' => T_('Introduction'),
				'note' => 'Welcome to this plugin\'s setting manager. Here you will be able to customize how this plugin does whatever this plugin does.',
				),

			'Blah1' => array(
				'label' => '-',
				'note' => 'The following settings will allow you to customize the blah part of this plugin.',
				),

			'Setting1' => array(
				'label' => T_('Setting').'1',
				'note' => 'Whatever Setting 1 Does',
				'type' => 'checkbox',
				),

			// You get the idea

		);
	}
}

If this is done currently the settings Blah1 and Introduction are turned into text fields, are are real settings.

Cheers.


Form is loading...

Build your own site! – This forum is powered by b2evolution CMS, a complete engine for your website.