Page 1 of 1

Small calendar - how can I make it not show the event name

Posted: Sat Oct 11, 2008 12:09 am
by DonnaNJ
I'm trying to install a small calendar - like here

http://www.dbkwebdevelopment.com/CMSMS/cmsmadesimple/

But when I add an event -  it shows the even tname on the small calendar - and then tthrows the whole thing out of whack

How can I turn the name off on the small calendar but still have it on the big calendar ?

thanks

DonnaNJ

Re: Small calendar - how can I make it not show the event name

Posted: Sat Oct 11, 2008 6:23 pm
by Nullig
Edit the Calendar Template and change:

Code: Select all

<ul>
{foreach from=$day.events item=event}
<li><a href="{$event.url}">{$event.event_title}</a></li>
{/foreach}
</ul>
to:

Code: Select all

{if $table_id eq "big"}
<ul>
{foreach from=$day.events item=event}
<li><a href="{$event.url}">{$event.event_title}</a></li>
{/foreach}
</ul>
{/if}
Nullig

Re: Small calendar - how can I make it not show the event name

Posted: Mon Oct 27, 2008 5:18 pm
by sugna
Set to 1 to display the summary information or 0 to not display it in calendar mode. Default is 1. (optional)

Example:

{cms_module module="Calendar" summaries="0"}

Shane