4
votes
Accepted
Simple PHP Substring not Working in Template
Why aren't you just using https://devot-ee.com/add-ons/character-limiter ??
Also, if PHP is set on output, what happens when
{event_summary}
has a value like this?
And the event was great, he ...
- 5,900
2
votes
Calendar:Month_List to display only months that contain events
The {exp:calendar:cal} tag can do a lot in Calendar: it's the first go-to tag to consider. I would use it since it provides a {month_event_total} variable you could use here. For example:
{exp:...
- 6,139
2
votes
Upgrading to Calendar 2 and EE3
You cannot upgrade to Calendar 2 while on EE2, as it is only compatible with EE3. We created a very thorough walkthrough and user guide for customers wishing to upgrade from Calendar 1 / EE2 to ...
- 6,139
2
votes
Calendar and categories
According to the docs, using the pipe character will return results if entries belong to either category id. To return those that belong to both then use the & symbol instead of the | character.
...
- 3,163
2
votes
Accepted
Solspace Calendar - Server Errors and Memory Issues
Do not use ini_set()! It is only a temporary value change; after script execution ends the value returns to what is set in your configuartion file, and Solspace Calendar might be curling the server ...
- 5,900
1
vote
Can I relate a non-calendar entry to a Solspace Calendar?
If you don't have many 'single pages' (i.e. less than a few dozen) on the site I'd look at adding a relationship field in the events channel. When you create an event you'd select one or more pages to ...
- 1,577
1
vote
Accepted
Solspace Calendar - Grid Field & Channel Images + Conditionals
If you're going to use embeds, you need to make sure you're passing the entry ID from the {exp:calendar:events} tag over to the embedded {exp:channel:entries} tag inside the embed. That would look ...
- 6,139
1
vote
Does Assets fields work in Calendar (solspace)
While the Calendar:Events template tag may work similarly to the EE Channel:Entries tag, it is much more limited. This is because Calendar looks at event recurrence rules and populates the additional ...
- 6,139
1
vote
Accepted
trying to display event recurrences
Calendar is doing exactly what is expected here. To achieve what you're after (if I understand correctly), something you could consider trying is code like this:
{event_dates}
{if calendar:...
- 6,139
1
vote
Alternating background colors with exp:calendar:day tag?
I suppose you could just do this with CSS:
tr.yourclassname:nth-child(even) { background: #CCC }
- 6,139
1
vote
Accepted
Trouble Using DataGrab to Import into Solspace Calendar in EE3
DataGrab's developer added a base import option for Solspace's Calendar module. Special thanks to http://www.brandnewbox.co.uk
- 79
1
vote
Accepted
Calendar and categories
As stuartmcd69 says, what you need to do is use the & character instead of |. However, the current version of Calendar (2.2.3) has a bug where this does NOT work. We're close to releasing a 2.3.0 ...
- 6,139
1
vote
Custom field as a parameter
By its very nature, calendaring add-ons with recurring event handling like Calendar use a lot of resources to render. It may not be as much of an issue for smaller sites, but for ones with many events ...
- 6,139
1
vote
Custom field as a parameter
It states in the docs that there is hard coded limit of 9 segments. So segment_10 will never resolve.
- 3,163
1
vote
Comparisons on formatted Solspace calendar dates?
There is currently limited support for conditionals due to performance reasons and because many of these date variables are timestamps set with UTC.
One workaround for now might be to use an embed to ...
- 6,139
1
vote
Is there a way to convert SolSpace Calendar's recurrence rules into plain English?
This works for me:
{rules}
{if rule_repeat_weeks}Every {if rule_relative_dow}{rule_relative_dow backspace="2"}{if '{relative_dow}' == '6'}Last{/if}{if '{relative_dow}' != '6'} {exp:ordinal}{...
- 43
1
vote
Cannot associate events to calendars in Solspace Calendar
This looks like it did not install correctly. Specifically some things from the themes seem to be missing. Make sure you uploaded the /themes/third_party/calendar folder.
- 1,987
1
vote
Accepted
Solspace: Calendar
You need a check for the "search-results" segment:
{if segment_2 == "search-results"}
date_range_start="year-month-01" date_range_end="year-month-last"
{/if}
- 6,139
1
vote
Accepted
For a list of events, get the first occurrence of each event, programmatically
Okay, I was able to get what I needed, mainly with the help of a query similar to this one:
SELECT entry_id, MIN(start_date) AS start
FROM (
(SELECT entry_id, start_date FROM exp_calendar_events)
...
- 11.3k
1
vote
Conditional to use date_range_start="today" instead of date_range_start="{segment_3}-{segment_4}-01" in {exp:calendar:cal} loop
The documentation of the rendering stages says that segment_variables, preload_replace:variable and current_time are parsed before the modules and plugins tags.
You can use all of them to ...
- 6,108
1
vote
Accepted
How to get Calendar and Event data from Solspace Calendar?
Highly suggested reading to distinguish Calendar tags: https://solspace.com/docs/calendar/getting_started/
{exp:calendar:cal} is usually used when displaying a list of events in a chronological order....
- 6,139
1
vote
Display a single Calendar Event that spans the current date
With a little guidance from Solspace support, I changed to use the cal tag instead of the event tag in order to get in the date range I needed. The docs indicate being able to use the {event} tag pair ...
- 1,610
1
vote
Database Error 1364 in Solspace Calendar
The issue shown here was resolved by adding a default value (0) into the exp_calendar_events table, 'last_date' field. Not sure how it got gone, perhaps it was a result of the mysql version change or ...
- 85
1
vote
Solspace iCalendar: how to download only one (e.g. next) occurrence of an event?
If you mean how to do this using {exp:calendar:icalendar}{/exp:calendar:icalendar} (https://solspace.com/docs/calendar/icalendar/), unfortunately it's not possible. You can go as far as limiting ...
- 6,139
1
vote
Accepted
Can Solspace calendar have multiple times each day for an event?
Yes, you can do that. When you create an event, add a rule for each time of the day that the event is going to occur as well as what day of the week its happening on at said time. You can have ...
- 6,139
1
vote
Using Stash to limit repeating events output by Solspace Calendar
Going back through the stash documentation provided the answer I needed! The unique parameter on get_list was the missing piece to the puzzle. Below is a refactored version of the code, which now hits ...
- 143
1
vote
How can I download ICS file for an event?
You can download an .ics file using the {exp:calendar:icalendar} tag: http://www.solspace.com/docs/calendar/icalendar/
From the documentation:
The Calendar:iCalendar tag is available for event ...
- 6,139
1
vote
Expression Engine, get full URL to entry
The simplest thing you can do is install the Demo Templates that come with Calendar. You can do this by going to the Calendar module CP area, and then click on Demo Templates tab. Proceed with the ...
- 6,139
1
vote
Accepted
Trouble with occurrences loop when client edits a specific occurrence for a recurring event
By default, occurrences do not have their own ID, but share the ID of the main event entry. When an occurrence is edited, they get their own ID. If you usually pass an event_id in your tag, this ID ...
- 6,139
1
vote
Solspace Calendar & Channel Form not showing in Firefox and Date popup not working
I was able to get this working by updating all instance of the live() jQuery function in calendar_publish.js to use on() instead. The syntax is a little different, so here is what I changed:
Line ...
- 385
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
solspace-calendar × 175solspace × 69
calendar × 19
ee2 × 7
events × 7
stash × 6
safecracker × 5
calendar-events × 5
categories × 4
relationships × 4
playa × 3
add-on × 3
php × 3
error × 3
ee2-upgrades × 3
date × 3
orderby × 3
channel-entries × 2
solspace-freeform × 2
conditionals × 2
channel × 2
search × 2
upgrade × 2
jquery × 2
ajax × 2