Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Graham Carr 277 posts 389 karma points
    Feb 15, 2013 @ 15:04
    Graham Carr
    0

    uComponents Dropdown Checklist

    Their is a need for my client to be able to assign categories to each testimonial on the site, then on the front-end for a particular page they can then choose from this list of testimonical categories and a random testimonial is then display based on this selection.

    I have created a new datatype utilising the uComponents Dropdown Checklist and have successfully populated this with the relevant dropdown values. I have added this datatype to the document type in question and all seems fine.

    The problem I have is that I am not entirely sure what the best way is or how to actually pull a random testimonial for a page based on the selected categories. Has anyone done anything similar to this using RAZOR scripts, or XSLT if that is easier?

Please Sign in or register to post replies

Write your reply to:

Draft