HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Custom Fields - Couple of Questions

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#110035 (In Topic #21846)
Avatar

Fan in training

Are there by any chance plans in the future to add grouping to custom fields?  In my case I am making a business directory of events, and say I'd like to have a list of amenities for the event,  and another list of features, etc.  Currently with OcPortal this is not a possibility.  I'd love to know if it is planned for the future, though.

The bigger question, though, is with the current check boxes.  Since we cannot group check-boxes, I just created a mass set of custom fields to try to enable a customer to list all of the events amenities in one go.  The issue is, however, that if the person making the listing does NOT check a box, instead of the feature/amenity just not appearing, it appears with a big red "x" next to it.

An example of this is seen here:  Test 1 for Perm Village Denver - The Renaissance Directory

Is there a way to make it so that if a check box is not checked that the item does not appear at all?  I am afraid that if I deploy this to a live environment that customers will not like it as it would reflect a negative appeal instead of a positive one to a listing where the event is small and does not have all these amenities.

Thanks.
Back to the top
 
Posted
Rating:
#110037
Avatar

Community saint

You can group CPF's by category, by using something like 'Category 1: Field 1' and 'Category 1: Field 2' as titles. Not too sure about the checkbox situation.
Back to the top
 
Posted
Rating:
#110039
Avatar

Hi,

I'm a little confused, as I don't think the linked site is an ocPortal site. I think you're just showing that this is similar to what ocPortal is doing, and what you don't want?

Also I'm confused as I don't believe the Checkbox field type shows crosses or ticks – but "Multiple values chosen from a list" [multilist] does (which is all one field, not lots of individual ones).

If you are using multilist, just edit the CATALOGUE_DEFAULT_FIELD_MULTILIST.tpl template and remove:

Code

         {+START,IF,{$NOT,{HAS}}}
            <span class="multilist_mark no">&#10007;</span> {$,Cross entity}
         {+END}


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: