creation of plugin for CB

13 years 11 months ago #132258 by n.octau
creation of plugin for CB was created by n.octau
Hi,
First I'm french, so excuse my english!
I need to create a new type of field for CB. It will looks like the field search from G--gle : the first typed letter displays a list of propositions (see image).
In fact, i'd like that a user who registrates and must input his city's name could choose only the propositions which are located in a mysql Table, and that this propositions appears in live.

Is-it possible to do a plugin like that for CB? Or should I create a component first?

Thanks,
N.

Post edited by: n.octau, at: 2010/05/05 11:56
Attachments:

Please Log in to join the conversation.

13 years 11 months ago #132279 by krileon
Replied by krileon on topic Re:creation of plugin for CB
It's possible to create any fieldtype you like, but is of course limited by your ability. I recommend reviewing document subscriber Ajax Text fieldtype plugin and File fieldtype plugin for examples as to how to create new fieldtypes.

If you want users to simply select a value from a drop-down this can be done by creating a Select field within field Management. Of course field values will need to be manually added to the field.

Post edited by: krileon, at: 2010/05/05 19:31


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.218 seconds

Facebook Twitter LinkedIn