-
Notifications
You must be signed in to change notification settings - Fork 3
Description
If the viewer of your site is in the "user" role, then you can allow them to create their own set of gear here (in addition to viewing the existing sets), or provide a link to a separate customization page. Available only to the "user" or "admin" roles, this refers to the ability to create or customize a set of gear, using only accessories which are in the “database”. There are several ways you could build this, for instance a two pane layout with options grouped together in one pane, and the thing (person, car, living room, etc) being customized in the other pane. If you are choosing to handle selections through Javascript, then the "proper" way to validate/choose/whatever a choice would be through an AJAX call to checkChoice($category,$selection), and not to a hard-coded checkLefthandChoice($selection)! Avoid hard-coded references!!