Coder Social home page Coder Social logo

local_coursetocal's People

Contributors

andresmrg avatar studyingroup-com avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

local_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:

  1. 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).
  2. Install local_coursetocal plugin.
    => The course with the correct dates appears on the calendar
  3. 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

Hey there,
installed this plugin, installation seems okay. but after install and reopening site settings.
syntax error, could not go to settings.

Any idea what to do.

Moodle install 3.8.5

Schermafbeelding 2020-12-18 om 22 26 30

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

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.

Screen Shot 2020-06-26 at 2 36 20 PM

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:

$config = get_config('local_coursetocal');

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.