Skip to Content Skip to Menu

🎉 Black Friday sale — Last days! Great savings on Professional and Developer Memberships! Get 25% off now with code BLACK-FRIDAY-2025!

Select field in plugin

  • ejl
  • ejl
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
11 years 2 months ago #249081 by ejl
Select field in plugin was created by ejl
Bonjour,

I create a plugin for CB. In my <plugin>.xml, I create a tab, and in this tab, I would create a field whith the type : select. How add value for select options : XS, S, M, L, XL ?
Code:
<cbinstall version="1.0" type="plugin" group="user"> ..... <tab name="Plg : Matériel" description="Gestion du club" > <fields> <field title="Taille" name="cb_materiel" description="Taille" type="select"> ????? </field> </fields> </tab> </cbinstall>

Merci,

EJL
France

Sorry for my bad english !

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 2 months ago #249084 by nant
Replied by nant on topic Select field in plugin
The API document in the Free download area should help.

Please Log in or Create an account to join the conversation.

  • ejl
  • ejl
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
11 years 2 months ago #249125 by ejl
Replied by ejl on topic Select field in plugin
I have already read and re-read document : "cbapi_0.006.pdf" found in the Free download area.
But, I have not found the searched information.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum