Pierluigi, i use JSmol in wordpress installation. have a look at wiki of JSmol for what i wrote for wordpress. It should not be that much different. Pino
>----Messaggio originale---- >Da: pierluigi.quaglio...@unito.it >Data: 13/03/2014 23.00 >A: <jmol-users@lists.sourceforge.net> >Ogg: [Jmol-users] can JSMOL be used into the Joomla CMS? > >Dear Bob and dear all, > >I am trying to set-up a server to help my students to learn organic >chemistry and, due to this, I tried to use a CMS (Joomla, 2.5.17 >version, stable, for long term production). The site should be available >in a few days, when IT services of my University (University of Torino, >Italy) will finish some work about hosting it. > >I use JSME and JSMOl, at a very basic level... I am a newbie about >them. However, I prepared some pages starting by looking at the code of >some JSME/JSMOL examples and they can work fine if used as stand-alone >pages, i.e also by wrapping them into an "article" in Joomla. The >problem arises when I try to use this code into a Joomla "article". >Obviously I have to separate code to inject it properly into <head> >section and this work fine for JSME, no problem about it. On the >contrary, JSMOL start its set-up but it stuck leaving those messages: > > >mol._Canvas2D (Jmol) "myJSmol"[x] >loading... j2s/core/package.js >loading... j2s/core/package.js -- required by w3c script failed > >It seems that the program can see correctly the location of the >JSmol.min.js sinc eit starts to initialize itself but something went >wrong while loading package.js >Since the same code works well when used in a stand-alone php file, the >location of JSMol dir and subdir should be properly recognized. > >do you have any suggestion? I can post some code if requested. > >Since I have never found in the web something talking about the use of >JSME/JSMOL into the Joomla CMS, I would take the opportunity of the >Bob's request for a review into the sourceforge site to write something >and cite also this opportunitty to use JSMOL into the Joomla CMS >container, obviously when I will get it working... ;) > >Sorry to bother you, > >Best regards, > >Pierluigi Quagliotto > >------------------------------------------------------------------------------ >Learn Graph Databases - Download FREE O'Reilly Book >"Graph Databases" is the definitive new guide to graph databases and their >applications. Written by three acclaimed leaders in the field, >this first edition is now available. Download your free book today! >http://p.sf.net/sfu/13534_NeoTech >_______________________________________________ >Jmol-users mailing list >Jmol-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/jmol-users > ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users