local_coursetocal's People
Forkers
studyingroup-comlocal_coursetocal's Issues
If the end date of a course is set to be automatically calculated, the course disappears from calendar after course modification
Config: Moodle 3.10.2 (Build: 20210308) + standard Moodle calendar.
Steps to reproduce it:
- create a course with a startdate. whereas the course enddate is calculated automatically (the checkbox "Calculate the end date from the number of sections" is enabled in the course settings).
- Install local_coursetocal plugin.
=> The course with the correct dates appears on the calendar - Modify the course startdate, leaving the checkbox "Calculate the end date from the number of sections" enabled.
=> The course then disappears from the calendar.
But, at the step 2), if I uncheck the checkbox "Calculate the end date from the number of sections" and set manually the enddate, the calendar is updated accordingly.
Error upon installing new version 3.9 20201212
Hello!
I just tried to update to the newer 3.9 version (I'm running 3.8.4) and I get an error every time I try to update or reinstall. The error is an exception error relating to a ')'. I was looking for an earlier version but I didn't see which one to download.
Thanks.
error on install
Products to Calendar?
Hi Andres,
Thanks for this plugin! We needed a way to let our customers choose courses from a calendar as well as a catalogue. We use the Intellicart plugin to sell our courses. Is there a way to have the link take the user to the Intellicart product that contains the course so the user can buy it instead of straight to the course?
Thanks,
Audrie
Coding error detected: Negative duration is not supported yet.
Hi,
I found a problem for which I have not yet found a solution,
If a course has a end-date set and then I change my mind and disable the end date and I want to export the calendar, I get this error:
Coding error detected, it must be fixed by a programmer: Negative duration is not supported yet.
Stack trace: line 239 of /calendar/export_execute.php: coding_exception thrown
Output buffer: <div class="notifytiny debuggingmessage" data-rel="debugging">Coding problem: $PAGE->context was not set. You may have forgotten to call require_login() or $PAGE->set_context(). The page may not display correctly as a result<ul style="text-align: left" data-rel="backtrace"><li>line 503 of /lib/pagelib.php: call to debugging()</li><li>line 1542 of /lib/pagelib.php: call to moodle_page->magic_get_context()</li><li>line 687 of /lib/pagelib.php: call to moodle_page->initialise_theme_and_output()</li><li>line 830 of /lib/pagelib.php: call to moodle_page->magic_get_theme()</li><li>line 87 of /filter/emoticon/filter.php: call to moodle_page->__get()</li><li>line 68 of /filter/emoticon/filter.php: call to filter_emoticon->replace_emoticons()</li><li>line 176 of /lib/filterlib.php: call to filter_emoticon->filter()</li><li>line 218 of /lib/filterlib.php: call to filter_manager->apply_filter_chain()</li><li>line 372 of /lib/filterlib.php: call to filter_manager->filter_text()</li><li>line 1303 of /lib/weblib.php: call to performance_measuring_filter_manager->filter_text()</li><li>line 214 of /calendar/export_execute.php: call to format_text()</li></ul></div>
============
Also, for some reason, when I manage to export the calendar, if I look in the ics file I find:
<div class="notifytiny debuggingmessage" data-rel="debugging">Coding problem: $PAGE->context was not set. You may have forgotten to call require_login() or $PAGE->set_context(). The page may not display correctly as a result<ul style="text-align: left" data-rel="backtrace"><li>line 503 of /lib/pagelib.php: call to debugging()</li><li>line 1542 of /lib/pagelib.php: call to moodle_page->magic_get_context()</li><li>line 687 of /lib/pagelib.php: call to moodle_page->initialise_theme_and_output()</li><li>line 830 of /lib/pagelib.php: call to moodle_pa
Possibility to display only the Start date of the course?
Great plugin, thanks a lot!
I'd like to try to display on the calendar only the start date because with a lot of courses, the calendar seems a bit cluttered?
What do you think?
Compatible with 3.8+?
Hello.
Has compatibility for 3.8+ been achieved for this plugin yet? The plugin seems to be working in regards to its functionality. However, when I make some general settings changes and need to upgrade the moodle database, it appears that the refresh page gets stuck on the Course to Calendar settings saved screen. I have to navigate back to the main URL for the site. I am attaching the screen that won't dismiss.
Stephen
"sync events" button syncs ALL categories, whatever the User has chosen
On the settings page, whatever I choose the categories (in the same page, section "Select category"), if I click on the "Sync events", it syncs all the events, whatever the categories I've chosen.
I think the problem is that at this line:
local_coursetocal/classes/helper.php
Line 53 in c7137fa
get_config()
returns only one thing: the version number. I think it's because the settings must be saved before.
Maybe with a javascript code to pass it to the "sync event" button?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.