Fork me on GitHub

PostCalendar: Searching for multiple categories  Bottom

  • Hi,
    I'm a teacher at a high school and I got conned into doing the web page.
    Well I threw on PostNuke and impressed them.

    They want PostCalendar to be able to do multiple category searches. We have the following categories:


    • [*:8188e661d4]Atheltics
    • [*:8188e661d4]Teachers
    • [*:8188e661d4]Students
    • [*:8188e661d4]Parents


    Right now, they can pick ALL CATEGORIES or just one of the catagories. They would like do be able to multi-select. For example, pick Athletics and Teachers, but not display any Students nor parents in the calendar.

    This seems alot of work. my SQL skills are enough to get me into trouble but my PHP is poor.

    Any hints as to what module to look at?

    Thanks

    Jeremy
  • Jeremy I would suggest using the permissions system to the PostCalendar Categories you want your given groups to read you can do this like so:

    GROUP PostCalendar::Category Teachers:: read
    GROUP PostCalendar::Category Athletics:: read

    ok so in the above example you would want to change the "GROUP" to whatever group you have your users in that need to view only those given categories.

    Also you need to do this for any category you dont want them to see

    GROUP PostCalendar::Category Parents:: none

    remeber this though when playing with the permissions system the permissions are read from TOP->DOWN so with that said you can't have permissions like this:

    unregistered .* .* read
    GROUP PostCalendar::Category Parents:: none

    The above will not work because the TOP permission will take presence before the underline PostCalendar permissions, just wanted to save you the stress of pulling hair out if it didn't work the first time. If you need some help just buzz me on here and I will see what I can do.

    -SUNADMN

This list is based on users active over the last 60 minutes.