Need Calender help.
Can anyone share the php with me to show a message if there is no current or upcoming calender event.
The jobs module does this. Currently when there is no event the Calender content area is blank. I would like it to say something like "There are no events at this time"
The coed would go in the "Upcoming" template
site: http://southaustincivic.org/
Thanks everyone.
Shane
Need Calender to show "something" when there is no event
Re: Need Calender to show "something" when there is no event
Hey Sugna, I'm looking for the same thing - have you found the solution to your problem?
Re: Need Calender to show "something" when there is no event
No responses yet. I have started on other sites if I come up with something I'll post it back.
Shane
Shane
Re: Need Calender to show "something" when there is no event
Thanks Sugna,
I put up a new post about it, perhaps someone will come across it. If they do I'll send along to you.
I put up a new post about it, perhaps someone will come across it. If they do I'll send along to you.
Re: Need Calender to show "something" when there is no event
It would be SMARTY not PHP and would be in the Calendar Module Upcoming template in Admin, I don't have the original code to hand here, but if you look you will see a loop for the items to be listed, just set up a condition, so if the return for the loop is empty then display your message? Or indeed create your own template and call that?
Is this what you were looking for?
Russ
Is this what you were looking for?
Russ
Re: Need Calender to show "something" when there is no event
This is used in the Jobs Module. I'm more of a designer then a programmer but I look for it in the jobs templates.
And see what I can find.
Shane
And see what I can find.
Shane