Forums / Contribution-Writing Guidelines / multi values select in configuation options

multi values select in configuation options

Locked

Started by sanguisdesign on 19 Sep 2007, 4:33 PM · Views: 2,135

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
19 Sep 2007, 4:33 PM
#1
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

multi values select in configuation options

Hi there,I am working on a plugin, and I am using the configuration table for the options w/ how it will run. one of the configuration settings that I need is to be able to list all the options names and select any of the names as part of the configuration. I can not figure out how to generate a list of check boxes or a multi select field for this. Any advice is welcome.

JOsh Beauregard
Sanguis Development

19 Sep 2007, 7:30 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: multi values select in configuation options

The UPS and USPS shipping modules use checkboxes ... you could use one of those as an example to work from.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Sep 2007, 7:13 PM
#3
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

Re: multi values select in configuation options

DrByte:

The UPS and USPS shipping modules use checkboxes ... you could use one of those as an example to work from.

that uses a fixed list. I am more looking at a row in the configuration table.
what would the array that I would have to grab with column 'use_function', and how to create the list with column set_function. also how would I grab the data w/ the constant deff. is this even possible? or do i have to store this info else wheres.

JOsh Beauregard
Sanguis Development