Filtering list

4 posts by 2 authors in: Forums > CMS Builder
Last Post: April 8, 2009   (RSS)

Re: [s2smedia] Filtering list

By ross - March 26, 2009

Hi there.

Thanks for posting!

Do you have a link I can check this out at? I am not quite sure I understand how you have this setup.

My first though though is if you have a bunch of check boxes in the admin section for each program so you can choose which locations, couldn't we just output any checkboxes you've selected?

The code for that would look something like this:

<?php if $record['North Sunnybrooke']: ?>
North Sunnybrooke
<?php endif ?>

And then you just repeat that for each checkbox. Each one that you've checked off will display its name.

Let me know if that sounds like it would work and get me a link to check it all out at.

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Filtering list

By s2smedia - March 26, 2009

Hey Ross,

Thanks for the reply.. its a little trickier than that. mainly because the locations and programs are always changing so i cant hard code anything in.

apexsoccer.com

a page you can see what im working on for this particular coding is:
http://www.apexsoccer.com/programs_detailsT.php?Monday-Training-Supplement-16

The box that has the "program locations"...
I need it to only display the locations that offer the particular program page they are viewing.

When setting up a program in the CMS... I have a section that lists all locations and then you check next to each one that offers the program.

Let me know if you have any other ?'s

Thanks!!

Re: [ross] Filtering list

By s2smedia - April 8, 2009

Any word on how i can accomplish this?