I am having a slight proble with the upcoming event list for events having the same name - I only get the next scheduled event in the list instead of all events...
I imeplemented Products/order as the basis of purchasing - event titles are taken from the Product module (just a small template hack in cgcal admin.addevent)
What I need now is to generate a drop down box (or whatever) from the calendar module to select the date for the product before adding it to the cart... this is where I'm stuck...
I wanted to generate a list of events having the same title as the selected product, but the upcominglist does not show duplicated titles - only the first sceduled event with that title is displayed...
please help...
I'm quite sure I can make it work with UDT, but I would prefer having CGCal display the list with a template...
CGCalendar upcoming events
Re: CGCalendar upcoming events
i guess i should post my findings:
- the query is in souce code... so I'll have to modify it - the results are limited by query... I see no other way...
So, removing GROUP BY in the query solves my issue, until next module update...
- the query is in souce code... so I'll have to modify it - the results are limited by query... I see no other way...
So, removing GROUP BY in the query solves my issue, until next module update...
Re: CGCalendar upcoming events
too fast... too stupid... my mistake...
there is this param unique_only in the code that is supposed to be set... when set to whatever, it should display what I need
so
{cms_module module="CGCalendar" display="upcominglist" unique_only=1}
does the job
I just wonder... shouldn't it be the other way around - unique_only=0...
there is this param unique_only in the code that is supposed to be set... when set to whatever, it should display what I need
so
{cms_module module="CGCalendar" display="upcominglist" unique_only=1}
does the job
I just wonder... shouldn't it be the other way around - unique_only=0...
Re: CGCalendar upcoming events
You are correct the tag for including a list of all the uplcoming events including all recursive should look something like this:
Code: Select all
{cms_module module="CGCalendar" display="upcominglist" upcominglisttemplate="latest-events" limit="5" unique_only=0}
Re: CGCalendar upcoming events
@markovica
Doing this will render you unsupportable...
(just a small template hack in cgcal admin.addevent)
Doing this will render you unsupportable...
(just a small template hack in cgcal admin.addevent)
Re: CGCalendar upcoming events
This is a bit confusing doing what will render unsupportable?
The tag I suggested is for the template page not the module files, they should not be touched in this instance as the tag does all the work.
The tag I suggested is for the template page not the module files, they should not be touched in this instance as the tag does all the work.
Re: CGCalendar upcoming events
I was speaking of the hack that markovica did to the modules PHP file...
Re: CGCalendar upcoming events
New release CGCalendar is in the Forge
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -