chamilo | Script to download all files from courses on Chamilo | Learning library
kandi X-RAY | chamilo Summary
kandi X-RAY | chamilo Summary
Script to download all files from courses on Chamilo elearning platform.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Downloads the course
- Saves all the folders in the current page
- Save a file
- Check if the file has the size of the file
- Return a BeautifulSoup object
- Get all courses
- Authenticate using CHAMI
chamilo Key Features
chamilo Examples and Code Snippets
Community Discussions
Trending Discussions on chamilo
QUESTION
Currently I'm making a platform based on chamilo and I'm stuck because a template´s form for tests. The reason is becasuse I have to adquire de data from the form and organized to send througth the chamilo api rest. Currently This form is made of 6 static hidden inputs, but the real problem is the other inputs that are generate in function of the number of questions. In the forms.py file I defined a class for this form but only with 6 inputs but I don´t know how to handle the variable inputs from the tests answers because the tests have different number of questions and answers
...ANSWER
Answered 2021-Feb-10 at 12:30You can use JSONField for your class Model:
A field for storing JSON encoded data. In Python the data is represented in its Python native format: dictionaries, lists, strings, numbers, booleans and None.
QUESTION
I am getting the following error while installing chamilo version 1.11.6.
Fatal error: can't use function return value in write context in /var/www/html/chamilo/main/inc/lib/api.lib.php on line 1772
My php version is 7.2.
...ANSWER
Answered 2018-Jul-21 at 21:25This error appears because somehow the PHP version is not 7.2 (but rather <5.5) in the context in which you are executing the page.
Since PHP 5.5, the emty() function was changed to support function results.
See http://php.net/manual/en/function.empty.php
Note:
Prior to PHP 5.5, empty() only supports variables; anything else
will result in a parse error. In other words, the following will
not work: empty(trim($name)). Instead, use trim($name) == false.
My guess is the place where you change the PHP version in your control panel doesn't affect (or didn't affect yet) the place where Chamilo is being loaded. Ask your hosting provider, maybe?
You can place a "info.php" file with the following content at the root of Chamilo and load it directly through the browser. This will tell you what version PHP is running at in the Chamilo directory:
I bet it still shows PHP 5.4...
QUESTION
I am trying to add new role to chamilo 1.11.6. I want to set permissions to that role. For ex. I want to add new role Head of Department. How to add rights to that role.
Thank you.
...ANSWER
Answered 2018-May-30 at 13:44Chamilo 1.* does not have a feature to create new roles from the interface. If you want to do that, you will have to do some (PHP) programming.
This is, for several reasons, one of the features that Chamilo does not provide, and the reason why you already have about 14 different roles (look at roles constants definitions in main/inc/lib/api.lib.php) predefined with the basic software.
Chamilo 2.0 (the roadmap plans for a first release this year) will offer the underlying elements to enable granular roles and permissions definitions, but it will not directly offer the feature to final users and is not ready for production use yet.
I would recommend you check the definitions of roles in the admin guide (https://docs.chamilo.org/) and try to find something that roughly fits what you need.
Obviously, you could also pick another LMS software that offers granular roles and permissions management, but you would probably loose the ease of use which is Chamilo's main advantage.
-edit-
You can assign only about 5 roles when creating a new user. Other roles are cumulative and can be added only in context: inside courses or sessions (course assistant is for users inside the users list inside a course, session general coach is the teacher you assign as general coach when creating a session, ...).
The anonymous role is a role assigned to users when they do not have a user account.
QUESTION
I am currently working to develop a moodle and I was looking for SQL scripts (not my sql ) for my database. I have tried but I could not find. I already visited the following pages:
https://docs.moodle.org/dev/Database_Schema
and
https://support.chamilo.org/documents/57
but did not get any script. can you provide me some scripts for a moodle, in SQL Microsoft?Thanks
...ANSWER
Answered 2017-Aug-24 at 16:34Are you just looking for some example queries to the SQL database, like these ones? https://docs.moodle.org/33/en/ad-hoc_contributed_reports#User_and_Role_Report
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install chamilo
You can use chamilo like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page