GithubHelp home page GithubHelp logo

registerme1963 / moodle-atto_structure Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cleblond/moodle-atto_structure

0.0 0.0 0.0 72 KB

MarvinJS Atto plugin for inserting images!

PHP 100.00%

moodle-atto_structure's Introduction

MarvinJS atto plugin (atto_structure) for Moodle.
Alows users to create chemical structures and reactions then easily
insert image into Moodle.

Quick Installation
1) Download and install MarvinJS from www.chemaxon.com.
2) Place the structure folder in your lib/editor/atto/plugins folder.
3) Proceed to the notifications section of the admin panel.
4) Confirm installation of moodle-atto_structure
5) Set the path to MarvinJS in the settings page that appears 
   or proceed to admin setting for this filter and set path).
6) Proceed to Site administration > Plugins > Text editors > Atto HTML 
   editor > Atto toolbar settings and add the new plugin to the tool bar
   config, by adding "structure" at the end of one of the rows of buttons.


By Axel Schorcht Thu, Apr 8, 2021, 6:26 PM posted https://moodle.org/plugins/atto_structure comments:
Hi for all of you trying to get this plugin to work on a current version of moodle and marvinjs:
1. Download the zip and extract
2. to resolve the mixed content error (https->http) replace in structure\lib.php line 57 "http://" with "https://"
3. the name of the marvin scripts are hardcoded, so in order to make the newest version (1.0.0) work replace in the following documents promise-0.1.1.min.js with promise-1.0.0.min.js
structure\yui\build\moodle-atto_structure-button\moodle-atto_structure-button-debug.js - line 218
structure\yui\build\moodle-atto_structure-button\moodle-atto_structure-button-min.js - line 1
structure\yui\build\moodle-atto_structure-button\moodle-atto_structure-button.js - line 215
structure\yui\src\button\js\button.js - line 216
4. re-zip the files and install
5. enjoy!

moodle-atto_structure's People

Contributors

cleblond avatar registerme1963 avatar

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.