1
ds679
Excluding Events from "Coming Events"
  • 2005/2/28 3:59

  • ds679

  • Just popping in

  • Posts: 3

  • Since: 2005/2/28


Hi there,

[size=x-small]Disclaimer: I've RTFM..and tried Searching the Forums - so forgive me if this has already been dealt with (and please respond with a link to the answer, etc) as I didn't find an answer/option.[/size]

I'd like to find a way to 'exclude' events from the "Coming Events" module. For example, I'm using XOOPS in a Church environment - and my 'Coming Events' box is filled with the normal Sunday worships...people are expecting those, I'd like the 'Coming Events' box to only show things that are the 'unexpected'.

Seems like if I add another category to the Calendar - say, "Exclude from Coming Events"....then we'd have a clickable way to include/exclude what's going to show up in the block. Seems like it would require two rewrites of code:

1). Change the pull-down in the Calendar Categories to not list the category 'Exclude from Coming Events"....we wouldn't need to filter/show those..but I guess in reality, this is minor

2). Rewrite the "Coming Events" theme in the line:

<{foreach item=event && category != "Exclude from Coming Events" from $block.events}>

Although I'm sure my pseudo-code needs much work to 'make it work'...and I'm sure that I've missed some kinda nuiance in the code (like how to NOT count the excluded events from the 'How many to show' count)....but that's why I'm asking here and not trying to code myself (and create the hole in my wall from banging my head on it).

Thanks so much for the hard work already done!

Dave - "DS679"

2
karedokx
Re: Excluding Events from "Coming Events"
  • 2005/2/28 7:07

  • karedokx

  • Quite a regular

  • Posts: 319

  • Since: 2004/7/1 6


what kind of calendar module you have used?

3
ds679
Re: Excluding Events from "Coming Events"
  • 2005/2/28 22:32

  • ds679

  • Just popping in

  • Posts: 3

  • Since: 2005/2/28


Sorry - should have mentioned that!

I'm using: piCal-0.60

HTH -Dave

Login

Who's Online

375 user(s) are online (269 user(s) are browsing Support Forums)


Members: 0


Guests: 375


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits