Want to create a custom, multiple-checkbox field

Post your requests for addons here, and discuss any addons in development here, as well.
Once an addon has completed development, it will be released in the "Addon Release" forum.

Moderator: Spunkmeyer

Want to create a custom, multiple-checkbox field

Postby Doogie » Sun Jun 26, 2005 2:45 am

Hello again. I have searched long and hard to find a CMS nearly as flexible as Coranto and I have failed. Nonetheless, there are certain things I need to do in Coranto that I can't currently do, either because the addon hasn't been written or because I haven't found it yet.

The site I am making is for a small video studio that wants to display their videos on the web. Each video will have its own summary page where people will be able to learn about the story and who was involved in the movie (crew members and actors). The biggest thing is that, along with single-line and multi-line input fields, I need to have fields that consist of a series of checkbox options. For example, on a submit news page I want to see the following:

Members involved: [] Member 1 [] Member 2 [] Member 3 [] Member 4
Director(s): [] Member 1 [] Member 2 [] Member 3 [] Member 4

On top of that, I'd like to have certain fields that consist of multiple single-line text fields. For example:

Cast: _________; _________; _________; etc.

If there is an addon (or different CMS, for that matter) that can do this, please point me to it. Otherwise, please let me know and I will put my fledgling Coranto hacking skills to the test!
--Doogie
evolvealready
User avatar
Doogie
 
Posts: 5
Joined: Mon Jul 28, 2003 8:21 am
Location: Middlebury, CT

Re: Want to create a custom, multiple-checkbox field

Postby InSAnE NiNjA » Sun Jun 26, 2005 10:10 am

your requesting fielded fields, which is redundant...

Doogie wrote:For example, on a submit news page I want to see the following:

Members involved: [] Member 1 [] Member 2 [] Member 3 [] Member 4
Director(s): [] Member 1 [] Member 2 [] Member 3 [] Member 4


How about.. drop down boxes, that you can set to display all fields at once? You just hold ctrl and click off all the applyed names. It would require a little enhanced profile coding for correctly displaying it


Doogie wrote:On top of that, I'd like to have certain fields that consist of multiple single-line text fields. For example:

Cast: _________; _________; _________; etc.


either, multiple single-line text fields..

OR a multi-line text field, with a little bit of enhanced coding to grab items, one per line, and display them properly
..nuttier then a squirrel turd..
User avatar
InSAnE NiNjA
 
Posts: 1213
Joined: Sat Jan 25, 2003 6:35 am

Postby Esstee » Sun Jun 26, 2005 12:00 pm

If there is an addon (or different CMS, for that matter) that can do this, please point me to it. Otherwise, please let me know and I will put my fledgling Coranto hacking skills to the test!

Are you taunting the good folk at coranto.gwe ilo.org?

Okay on with the challenge...
The site I am making is for a small video studio that wants to display their videos on the web. Each video will have its own summary page where people will be able to learn about the story and who was involved in the movie (crew members and actors). The biggest thing is that, along with single-line and multi-line input fields, I need to have fields that consist of a series of checkbox options. For example, on a submit news page I want to see the following:

Members involved: [] Member 1 [] Member 2 [] Member 3 [] Member 4
Director(s): [] Member 1 [] Member 2 [] Member 3 [] Member 4

On top of that, I'd like to have certain fields that consist of multiple single-line text fields. For example:

Cast: _________; _________; _________; etc.


A better approach than using buttons would be to place input fields in
your submit screen (BTW you should create a custom submission screen also
ex: Submit movie) this way you can have custom fields that won't over crowd
your regular news screen, if you submit other types of items as well otherwise
just ignore that part.

You create the fields: member 1: [__________] , Member 2 [__________] etc.
same for Director 1 ... Director 2... etc etc.

then you create your cast whatever other fields you have.
you create simple conditionals in your style that if the fields are not display'd
they don't appear thus keeping everything laid out nicely.

You can create a radio button to activate or display the summary page from
your news submissions page or... you could setup a conditional that scans
any of the fields and automatically activates the summary option if they are
used.

PS. you will be hard pressed to find a CMS with the same capacity as Coranto
and if you do you will most likely end up paying someone to achive what your
after. ( I have been there with another software, it would cost me 399 USD
for
the software and the staff wanted between 30 and 100 dollars for every
addon or modification I needed.
I went deeper into the belly of Coranto and look! I found maginot.
User avatar
Esstee
 
Posts: 320
Joined: Thu Nov 25, 2004 4:13 pm
Location: Deep in some project

Re: Want to create a custom, multiple-checkbox field

Postby Dale Ray » Sun Jun 26, 2005 5:32 pm

Doogie wrote:On top of that, I'd like to have certain fields that consist of multiple single-line text fields. For example:

Cast: _________; _________; _________; etc.


These threads:

http://coranto.org/forum/viewtopic.php? ... le+entries

http://coranto.org/forum/viewtopic.php? ... le+entries

discuss putting multiple entries into one field using a separator. This has the advantage of being flexible - the number of possible entries is not fixed. It also limits the number of fields you need to create since one text field handles the input.
Dale Ray
User avatar
Dale Ray
 
Posts: 994
Joined: Sun Jan 19, 2003 6:02 pm
Location: NW Indiana

Re: Want to create a custom, multiple-checkbox field

Postby Parahead » Sun Jun 26, 2005 5:50 pm

InSAnE NiNjA wrote:
Doogie wrote:Members involved: [] Member 1 [] Member 2 [] Member 3 [] Member 4
Director(s): [] Member 1 [] Member 2 [] Member 3 [] Member 4

How about.. drop down boxes, that you can set to display all fields at once? You just hold ctrl and click off all the applyed names. It would require a little enhanced profile coding for correctly displaying it

Yes, this approach is good. The normal dropdown box within Coranto does not have the option to choose it to be a multiple selection box though, but using the CustomFields addon this functionality becomes available, so I would suggest Doogie to use that. It lets you add options to the dropdown box on the fly from the Submit News page as well.
Yes, I am still around...
www.parahead.com/coranto/
User avatar
Parahead
 
Posts: 4837
Joined: Fri Jan 12, 2007 8:54 pm
Location: Stockholm - Sweden

Re: Want to create a custom, multiple-checkbox field

Postby InSAnE NiNjA » Mon Jun 27, 2005 1:43 am

Parahead wrote:
InSAnE NiNjA wrote:
Doogie wrote:Members involved: [] Member 1 [] Member 2 [] Member 3 [] Member 4
Director(s): [] Member 1 [] Member 2 [] Member 3 [] Member 4

How about.. drop down boxes, that you can set to display all fields at once? You just hold ctrl and click off all the applyed names. It would require a little enhanced profile coding for correctly displaying it

Yes, this approach is good. The normal dropdown box within Coranto does not have the option to choose it to be a multiple selection box though, but using the CustomFields addon this functionality becomes available, so I would suggest Doogie to use that. It lets you add options to the dropdown box on the fly from the Submit News page as well.


yes, your addon would make the idea work, but reading this topic now... 3 people just gave him 4 methods of doing the same thing.. hope we didnt scare him
..nuttier then a squirrel turd..
User avatar
InSAnE NiNjA
 
Posts: 1213
Joined: Sat Jan 25, 2003 6:35 am

Re: Want to create a custom, multiple-checkbox field

Postby Parahead » Mon Jun 27, 2005 5:58 am

InSAnE NiNjA wrote:3 people just gave him 4 methods of doing the same thing.. hope we didnt scare him
Nah, just giving him more options. And at least he doesn't have to search for another CMS that does this anyway... ;-)
Yes, I am still around...
www.parahead.com/coranto/
User avatar
Parahead
 
Posts: 4837
Joined: Fri Jan 12, 2007 8:54 pm
Location: Stockholm - Sweden

Postby Lumberjack » Tue Jun 28, 2005 3:16 pm

Is this similar to the iterator addon (link) requested by thomsen?
Lumberjack
 
Posts: 555
Joined: Wed Jan 10, 2007 7:22 pm
Location: Oxford, UK

Postby Parahead » Tue Jun 28, 2005 5:46 pm

Lumberjack wrote:Is this similar to the iterator addon (link) requested by thomsen?
I think that thomsons request could be used to achive the above, but personally if I would implement the above, I would extend the checkbox field settings to include an option to use several values separated with a pipe, pretty much like the radiobutton works (or dropdownbox for that matter). What I also would do at the same time (for both the checkbox and radiobutton field) is make it possible to present them in several rows. Currently the radiobutton field has the "Split Options" setting which either allow you to present the radiobuttons in cols *or* rows, but that doesn't make it possible to use for example both TR *and* TD-tags... This is just me thinking loud, sorry... ;-)
Yes, I am still around...
www.parahead.com/coranto/
User avatar
Parahead
 
Posts: 4837
Joined: Fri Jan 12, 2007 8:54 pm
Location: Stockholm - Sweden

Postby Lumberjack » Wed Jun 29, 2005 1:40 am

Now that I finally properly understand thomsen's request, I do see the potential, especially for user friendliness... anyway I think my point was that if it is similar, the discussion may as well continue there, where some code etc was already posted.
Lumberjack
 
Posts: 555
Joined: Wed Jan 10, 2007 7:22 pm
Location: Oxford, UK

Postby Parahead » Wed Jun 29, 2005 6:19 am

Lumberjack wrote:Now that I finally properly understand thomsen's request, I do see the potential, especially for user friendliness... anyway I think my point was that if it is similar, the discussion may as well continue there, where some code etc was already posted.
Some similarities, but also differences... ;-) If I look into the CustomFields addon based on another request I can see if I can fool around with the ideas I presented above as well. The request thomsen presented maybe should go into an addon of it's own?
Yes, I am still around...
www.parahead.com/coranto/
User avatar
Parahead
 
Posts: 4837
Joined: Fri Jan 12, 2007 8:54 pm
Location: Stockholm - Sweden

Postby InSAnE NiNjA » Wed Jun 29, 2005 6:26 am

the request above, is about slicing up single fields into multiple fields, which either way, require some form of perlcode editing to properly display it in each case

i cant see that as useful in an addon, when my suggestion to each problem was a sufficient answer, and probably loneowl one-liner perlcode to display properly

something that would replace each "between" (\n or whatever) character with '; '

either way.. this person has not yet come back to test out his answers to his problem
..nuttier then a squirrel turd..
User avatar
InSAnE NiNjA
 
Posts: 1213
Joined: Sat Jan 25, 2003 6:35 am

Postby Parahead » Wed Jun 29, 2005 6:38 am

InSAnE NiNjA wrote:either way.. this person has not yet come back to test out his answers to his problem
Yes, the frustrating part... Many people solve their situation with the help they get in the forum but never come back and say which solution they used, the pros and cons they encountered and so on. For all we know he could either use the solution you provided NiNjA and live happily ever after *or* decided that Coranto was crap and moved on to another CMS... ;-)
Yes, I am still around...
www.parahead.com/coranto/
User avatar
Parahead
 
Posts: 4837
Joined: Fri Jan 12, 2007 8:54 pm
Location: Stockholm - Sweden


Return to Addon Development and Requests

Who is online

Users browsing this forum: No registered users and 0 guests

cron