I am using monologue gem to mount a blog in existing rails application. It is working fine. But i need to embed audio and video content in tineMCE. For that we need to add media plugin as mentioned here. Initailly monologue only having "fullscreen" plugin. We can see that here. How can i add media plugin to the existing monologue configurations. ?
Search the monologue source code for the point where tinymce gets initiallized. tinymce.init or mceAddControll will be sufficient strings to search for.
when found you will find out if you are able to configure monologue to your needs or if you will have to hack the plugin list in the code.
Related
I'm working on a project with ArcGIS/ESRI in WebStorm. According to the documentation, "Dojo is included with the ArcGIS JavaScript API so there is no need to host/reference/install it." This means WebStorm has no idea what require is:
How do I add support without installing Dojo/require?
Was just going to comment, but can't yet?! Anyway, I had to reengineer my web-site dev-ops to account for the ESRI javascript API. I am using 4.6 though...
The API, which includes dojo, may be installed, but it has to be configured into your site. Once you reference dojo/dojo.js, all will be good. But you need the config set-up first.
Start here:
https://blogs.esri.com/esri/arcgis/2015/11/13/using-bower-for-custom-builds-of-arcgis-api-for-javascript/
https://blogs.esri.com/esri/arcgis/2015/11/13/using-bower-for-custom-builds-of-arcgis-api-for-javascript/
There is a link to the API javascript resources. This will really help understand the process!
https://github.com/Esri/jsapi-resources
Also don't miss:
https://dojotoolkit.org/documentation/tutorials/1.10/modules_advanced/
https://dojotoolkit.org/documentation/tutorials/1.10/dojo_config/
http://dojotoolkit.org/documentation/tutorials/1.10/build/
I am just getting this stuff "almost" working. And actually had a build question to post and saw this. Hope it helps. I was using AMD and thought I had to go the requirejs route, but the dojo stuff worked out better for me. Check them both out and see what works for you! Good Luck!
Does Meteor support haml?
If a package needs to be created, what would be the recommended library to use?
Is do haml and handlebars play nice together?
I would like to write haml, that would be processed into the html style (with handlebars) that is shown in the Meteor demos.
I've created a smart package for 9elements haml-coffee.
You can clone my fork of meteor here: https://github.com/huetsch/meteor/tree/devel .
I've also created a pull request that's located here: https://github.com/meteor/meteor/pull/138 .
Meteor does not currently have a smart package for haml. Haml and handlebars should work together just fine as, like coffeescript, haml is pre-processed and meteor would only ever see the generated html.
The docs on smart packages for meteor are here: http://docs.meteor.com/#smartpackages
But as it says, the api is rapidly changing and undocumented so your best bet is to look at an existing package and go from there. Here's coffeescript's: https://github.com/meteor/meteor/tree/master/packages/coffeescript
I'm searching for a good PDF viewer for Joomla, the problem is when there is a module in an article all the PDF viewers I tried so far show: {loadposition myposition} in place of that module.
Does anybody know a PDF viewer that will show the module.
I would also like it to have a header and footer option.
Thx.
I suspect that your extensions 'might' not be the sole source of your troubles.
Have you installed "Modules Anywhere" from nonumber.nl?
I recommend you try that first before assuming that the problem lies in your extensions.
Here is the appropriate link: http://www.nonumber.nl/extensions/modulesanywhere
Install it, and make sure the editor plugin is also installed and enabled (Modules Anywhere may perform these steps upon installation), then open up the content item you wish to inject your module into and use the module selection tool provided to you by the editor plugin.
After you perform this test, you can more reliably assume that your PDF related modules are the culprits.
Good luck!
How would I install support for dojo into Aptana?
Basically I want to have auto completion working for dojo. Is there a way to do it?
The process has changed. Instead, you drop a library API file into your project:
http://wiki.appcelerator.org/display/tis/Using+JavaScript+Libraries
You do drop a library API file in your project as described in the link Ingo Muschenetz provided. However, no plugin that I have found currently FULLY supports Dojo content assist or auto completion. As in dojo.byId or dijit.byId are not supported through Aptana.
Here is the updated link to install Dojo support for Aptana:
http://docs.appcelerator.com/titanium/latest/#!/guide/JavaScript_Library_Support
Just follow the instructions under Dojo.
Hi I want to create sidebar in Firefox 3 but have no clue how to do this.
I find tutorial on MDC (https://developer.mozilla.org/en/Creating_a_Firefox_sidebar) but after installation extension do not work with "not compatible with Firefox 3.0.3" error.
Does anybody have any tip or link to some resource about how to make sidebar?
Well, a Firefox extension, be it a sidebar, toolbar or whatever other type of extension is basically a mix of XUL and Javascript, all packaged nice and tidy into an installer package called an XPI.
For an excelent XUL tutorial see http://xulplanet.mozdev.org/tutorials/xultu/.
For information about building extensions and the package format see https://developer.mozilla.org/en/Building_an_Extension.
For a sidebar you basically have to override the browser's sidebar area by using an overlay. For good overlay information check out MDC and the excerpt at http://www.oreillynet.com/pub/a/mozilla/excerpt/FirefoxHacks_chap01/.
All you need except the links above is knowledge of XML, some Javascript and a creative mind.
To fix the problem you faced above, you have to specify the correct version of Firefox in the install.rdf file. For Firefox 3 set maxVersion to:
<em:maxVersion>3.*</em:maxVersion>