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

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

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

quizzes/survey question

Login / Search

 [ Join | More ]
 Add topic 
#44517 (In Topic #9858)

Fan in training

Hi Chris/everyone,

I would like to ask if the quiz/survey/trending feature can be modified in such a way that trends can be determined relative to custom user demographic information, i.e. income bracket, and content categories, if i designate categories such as : US -> Florida -> Miami -> downtown, or Philippines->Metro Manila ->Makati->Ayala Avenue, or Cameras->Pentax->PX100.

This will determine whether i can use ocPortal or i will be forced, painfully, to code stuff myself.

I am also concerned with regards to the scalability and speed of such a setup, if i intend to display and cache certain summary trend information for a given category/subcategory, i.e.

  • Restaurants
  • Fastfood
 -> Restaurant A rates 86% for Question Category A, 72% for Category B, etc
 -> Restaurant B rates 78% for Question Category A, 22% for Category B, etc


Back to the top

Hi Peter,

It sounds like you're looking for a survey to be attached to each entry within a category tree, and then to see statistics for each entry separately.

The survey feature in ocPortal isn't this sophisticated, as there's no association between surveys and entries: surveys are standalone.

Now, if we're talking making changes, I'm sure it is perfectly achievable. One way would be to pass through an entry ID in the link to a survey, and store that as one of the answers in a hidden field. A bit of customisation could then be done to the admin UI to be able to report on this, or instead I would suggest a little work to allow results to be exported to CSV (as then all Excel's various stats features could be used).

Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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

Fan in training

Hi Chris,

thanks very much for this. it seems i won't be able to use ocportal for my current project after all, then. But i am impressed with it as a basis for other sites, and ill bear it in mind to use in other projects. :)
Back to the top
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: