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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
DonnaNJ
Forum Members
Forum Members
Posts: 40
Joined: Mon Nov 19, 2007 6:08 pm

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

Post 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
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

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

Post 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
User avatar
sugna
Forum Members
Forum Members
Posts: 196
Joined: Wed Oct 10, 2007 3:04 pm

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

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”