6

Easy to forget, but make sure you give the member group you want to edit the safecracker form the ability to edit that channel in member group prefs. "Can post and edit entries in: [your_channel_name]" selected for that member group (Edit Member Group > Channel Posting Privileges).


6

On the {exp:calendar:cal} tag, I believe you could do enable="categories". You could then output the category for each event with class="category{categories}{category_id}{/categories}" and then just create some CSS to apply the colour for each class - such as category1, category2 etc. Something like that might work.


5

Having dug through the archived forums on Solspace I found this gem: http://www.solspace.com/forums/viewthread/11282/P15/ Basically it appears that adding the id="" parameter in the Channel Form/Safecracker form tag somehow breaks things. Removing that parameter seems to have fixed the issue. Thanks to Anna for the really useful suggestions, though :)


5

Just simple conditionals are parsed before the modules and plugins. Simple ones are the conditionals using just if and just early parsed variables. segment_N are early parsed variables, but your conditionals have an if:else. So, try this: {if segment_2 == ""} {exp:calendar:cal date_range_start="today" date_range_end="today" show_days="1" pad_short_weeks="...


4

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 said "Everything is healing nicely!"


3

Try capturing the entry_ids to set a stash value then use that value to define the calendars tag. Grab the entry_ids for the events. {exp:stash:set parse_tags="yes"} {exp:channel:entries channel="education" disable="categories|member_data|pagination"} {stash:event_ids}0{exp:playa:children channel="calendar_events" limit="5"}|{entry_id}{/exp:playa:...


3

This should be fixed for next release (i.e. after version 1.8.5.2). In the meantime, if you want to try and fix this right away, go in /system/expressionengine/third_party/zenbu/views/zenbu_index.php and change line 22 from <?php $selected = $optval == $rule_cond['field'] ? 'selected="selected"' : '';?> to <?php $selected = isset($rule_cond['...


3

Instead of limit="10", try using event_limit="10". From the {exp:calendar:events} documentation: http://www.solspace.com/docs/calendar/events/#event_limit


3

Wouldn't you only have to loop through the events on a specific day (today) to see if there is a match for a holiday (and not the entire calendar)? I believe you could use the "Day" loop with a date_range_start of current_time, couldn't you? And since your calendar entries are limited to office holidays, the return of any results for a given day would in ...


3

Creating an "Office Holidays" calendar is a good start. Within that calendar you would create your holiday "events" in the "Calendar: Events" channel. If you're looking to list the upcoming holidays as a list, you can use {exp:calendar:cal}. Don't forget to use calendar_id="" or calendar_name="" is you just want to display events within your "Office ...


3

There wasn't really a question here, but... :) If you're using Solspace Calendar, which I assume you are since you've tagged it as such, you don't have to do this calculation, it's already built into the addon. For instance, you could do this: {exp:calendar:cal date_range_start="{year}-{segment_2}-first" date_range_end="+1 month"}


2

You are missing the paginate parameter on your opening calendar:events tag. Try adding paginate="bottom" and see if that fixes your issue.


2

Any event data outside of the variables listed here is up to you to create via standard custom Channel fields. So {event_summary} will only parse if you've created your own custom field called event_summary. Also, side note - what you're doing at the top of your template is a little loopy - two Channel Entries calls just to get the title and entry id! At ...


2

First, I highly recommend having a look at this documentation page explaining the differences between some of the more common Calendar tags. Always useful: http://www.solspace.com/docs/calendar/getting_started/ In detail, if you're looking to create a chronological list of events/occurrences, use {exp:calendar:cal}. This is the only tag that will make the ...


2

I've done this before with NSM Transplant. But I've been slowly removing it in favor of Stash. This question inspired me to finish the process with this template, so thank you! First off, I think there might be a workflow problem with your question. I'm not sure how often people will be updating events but from what it sounds like is that when someone wants ...


2

How about something similar to the method using PHP described here?: Solspace's Date Field Filter - can it do date headings? I'll rehash the answer here with modifications: Basically, display a heading when the first occurrence of a year is encountered, and store it in a PHP array to avoid displaying the same year again. <?php $heading = array(); ?&...


2

Please, try this: {if '{event_start_date format="%w"}' > 4} class="weekend" {/if} %w returns the day of the week, from 0, for Sunday, to 6, Saturday. event_start_date is available on both exp:calendar:events and exp:calendar:cal.


2

For maximum control over the data and markup of a calendar, you should use the {exp:calendar:cal} tag instead of the {exp:calendar:month}. The latter is a shortcut to the former. Please see the advanced example in the documentation: http://www.solspace.com/docs/calendar/month//#examples You may also need to translate the language file in Calendar under /...


2

You have checked that you have a /calendar folder in both those locations and that there are files in them? look for mod.calendar.php,there should be 14 files and 4 folders in /system/expressionengine/third_party/calendar


2

The format for date_range_start="" and date_range_end="" parameters is YYYY-MM-DD, not MM-DD-YYYY.


2

You're missing an important parameter in {exp:calendar:cal}: pad_short_weeks="n" You'll likely need to have this parameter set to n in the event you're trying to display anything other than a typical calendar display. When set to n, weeks won't be "padded" to the nearest first day of the week and last day of the week, as Calendar does this by default for ...


2

You must use the channels and custom field groups provided by Calendar when it's installed. To create events in "Calendar: Events", you need to create a calendar in "Calendar: Calendars" first. If you uninstalled Calendar and want to reinstall it, make sure to delete everything from the old Calendar install before you do, this includes the old Calendar ...


2

If you need repeating events your best bet is indeed Solspace Calendar, Repeet is EE1 only and was never ported to EE2. A seamless update however it is not, you may have to rebuild your calender completely. (it's what I would do anyway, the solspace module does a lot more than just repeating events).


2

I took a look on Repeet. It just repeats the event on the template. If this is enough for you, instead of use aaaaaaaaallllll the power of Solspace Calendar, you can try to convert the add-on by yourself. There are guidelines on EllisLab website. Solspace Calendar is a monster of complexity. If you can stay away from it, you should.


2

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 for all we know (I don't use it, I'm sure it's great). Set the memory_limit higher in your php.ini file. Then make sure to restart Apache/Nginx or whatever your ...


2

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:calendar:cal date_range_start="2015-01-01" date_range_end="2015-12-31"} {display_each_month} {if month_event_total > 0} // Your month ...


2

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 Calendar 2 / EE3 here: https://solspace.com/expressionengine/calendar/docs/calendar-1-migration/ So to exactly answer your question, you need to upgrade Calendar ...


2

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. Link to the docs read it :)


1

In a number of cases involving getting event data within a specific timeframe, the recommended tag to use is {exp:calendar:cal}. This is the only tag that displays multi-event occurrence listings in full chronological order. More information on the use of the main Calendar tags can be found here: http://www.solspace.com/docs/calendar/getting_started/ I ...


1

Depending on whether you're using the Calendar:Month tag or the Calendar:Cal tag in "Month" form, the adjustment will be different. If you're using the Calendar:Month tag, I would suggest switching to the Calendar:Cal approach, as it's far more flexible. Have a look at the Advanced example: http://www.solspace.com/docs/calendar/month/#advanced In the ...


Only top voted, non community-wiki answers of a minimum length are eligible