Customizing SMF > SMF Coding Discussion

SSI Calendar

(1/1)

Cadish:
Hi,

Is it possible to have a script on SSI that outputs this:

Today:
 - Party @ My house
 - Birthdays: Mike (24), Nico (16)

01/09:
 - Back to school

Thanks a lot in advance!!
Cadish

[Unknown]:
Yes, this is possible - by modifying the output of ssi_todaysCalendar.... but, it wouldn't be simple.

-[Unknown]

Cadish:
Can you please give me the code to do so?

I don't think I can do it myself :-[

[Unknown]:
$array = ssi_todaysCalendar('array');

foreach ($array['events'] as $event)
  ....

You'd have to do both arrays concurrently... like I said, it's not really designed to be used as such :/.

-[Unknown]

Navigation

[0] Message Index

Go to full version