New events calendar template

More
13 years 1 month ago #32959 by fgossart
i'm not familiar with templates programming... so I don't think I could do it.

But perhaps I could add my images field because it's very important for me.
I will try to modify source code.

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #32966 by fgossart
I just try to put image field value (with eventually multiple images as gallery) just before description and I don't see any problem.

in the loop for displaying day I put

foreach ($monthItems[$thisDay] as $monthItem) : ?>
.....
$eventDescriptionInDayImage='';

if ($displayEventDescriptionInDay) {

$fieldsEventImage=$monthItem->fields[$event_imageField];
$eventDescriptionInDayImage= $fieldsEventImage->display;
}
....and just at end of loop
if ($displayEventDescriptionInDay && $displayEventTitleInDay && $eventDescriptionInDayText != "") {
echo '<span class="event-info eventDescription">'. $eventDescriptionInDayImage . $eventDescriptionInDayText . '</span>';
}

result is displayed for the moment at
cassel.paysdeflandre.fr/index.php/agenda
one event with 2 images, another with one the same day, and a day with an event without image.

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #32969 by ggppdk
Replied by ggppdk on topic New events calendar template
yes,
there is not reason why it should not work,

if you use the $item->fields[galfield]->display variable

to display the field (and also place it an template position so that the 'display' variable gets created)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #33152 by fgossart
I' m trying again to put some data.
I'd like to have a month selector like
fussballschule-uwe-bein.de

but I don't know which are the parameters to get this view .
Actually I select flexicontent, category and I only have the current month but nothing to go to next/previous month.

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #33155 by ggppdk
Replied by ggppdk on topic New events calendar template
The new filters (soon available) for created/modified fields (creation time/modification time) and for date fields, support group filtering per year, or month or day

Is this what you mean/need?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #33162 by micker
Replied by micker on topic New events calendar template
cool

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #33163 by fgossart
I this month calendar view template, I just like to have some links to browser months/years.
In the template I put some parameters to have x months before and after, but there is no effects.

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #33168 by igcorreia
I am also preparing a project to work with this template.

Baiscly each item is an EVENT. So if the user want to search what are the events available from THIS DATE to THAT DATE is this possible? This would be great.

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #33169 by fgossart
I will try now to debug the template and hope to understand how it works

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #33177 by fgossart
I think I have found a first bug in settings Display Events in future (custom value).
Actually the value has no effect, all the futures events are displayed.
In category_items.php i change the < with > on the second check . I think it's copied from before and not correct.
if ($displayEventsInFuture == 2) {
if (($dateToCheck[1] > ($today[1] + $displayEventsMonthInFutureCustom)) && ($dateToCheck2[1] > ($today[1] + $displayEventsMonthInFutureCustom)))
continue; // skip it < event doesnt lie in the current month's time range ($today[1] = month e.g. 4)}


it feels better now, I still have to found now how I could navigate through past and future months if possible.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save