New Field Type

18 years 2 weeks ago #10432 by rdk4845
New Field Type was created by rdk4845
How difficult would it be to hack a new field type in CB?
I would like to add a field that would display an Icon along with text.
I had attempted to blindly hack core CB code earlier but got no where. Any suggestions?

An example of how this might be used is when a user selects their gender, an icon of a male or female could be displayed rather than just text.

Please Log in to join the conversation.

18 years 2 weeks ago #10434 by dsendecki
Replied by dsendecki on topic Re:New Field Type
I like this idea -- dont know how to do it, but I would suggest logging it as a feature request so that it might make it into the new core!

Please Log in to join the conversation.

18 years 2 weeks ago #10436 by trail
Replied by trail on topic Re:New Field Type
I tried doing this but failed as html is filtered out of any field type.. even the types that could present images won't.

I first tried to make a dropdown with images to select but no way a dropdown CAN have an image.. thats a html limitation..
but radio buttons should be able to present images.. and this is where html code is filtered..

iow. i like the idea too..

DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age , Starsign Matchmaking Horoscope , My Visitor , My Highscores , My ProfileID ,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many :)

Please Log in to join the conversation.

18 years 1 week ago #10643 by rdk4845
Replied by rdk4845 on topic Re:New Field Type
How about a plugin that could do something similar?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.194 seconds

Facebook Twitter LinkedIn