Hello this is a simple trick using the MySQL wildcard... There are a few places you can do this trick but here is a working way to do it... So let us say that you wish to have a few calendars on the same page.. not a problem just do what the help states and you should end up with tags like...
{cms_module module="CGCalendar" action="default" display="calendar" category="CHERC" inline=1}
{cms_module module="CGCalendar" action="default" display="calendar" category="FB" inline=1}
Now... I what to have more categories and have them spilt out between the calendars... In my case I had 35 cats in 3 calendars.. so I used a strict naming system..
category ex:
CHERC
CHERC-AHA
FB
FB-Birth
This way all I had to do was make the tags like this...
{cms_module module="CGCalendar" action="default" display="calendar" category="CHERC%" inline=1}
{cms_module module="CGCalendar" action="default" display="calendar" category="FB%" inline=1}
Now where category="CHERC%" I get only CHERC and CHERC-AHA... so the same for the FB category... simple trick and yes you can user this wildcard trick in other places, thou I'm not going to list them out yet... also you can try this...
%CHERC% to pull it from the middle in some places.
Hope this helps…
Cheers
jeremyBass
Here is the proof page...
Wildcard Params... Example: Simple multiple CGCalendars
Wildcard Params... Example: Simple multiple CGCalendars
Last edited by JeremyBASS on Thu Jul 02, 2009 3:29 am, edited 1 time in total.
Re: Wildcard Params... Example: Simple multiple CGCalendars
That's great, I'm saving this one for later.
Simon66
Simon66
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
This must be Thursday. I never could get the hang of Thursdays.
Douglas Adams - The only sane person in the asylum.
This must be Thursday. I never could get the hang of Thursdays.
Douglas Adams - The only sane person in the asylum.