Video functionality in Liferay 7 - ckeditor

I need to add video functionality to CKeditor. Thus, enabled Xuggler plugin. However, it has some limitations. Thus, searched about other plugins which can be integrated with CKeditor and supports video content.
Following are the findings for above: -
I found online ckeditor builder which gives video functionality (CKEditor 4). Please help in integrating the same with Liferay 7.
https://ckeditor.com/cke4/builder.
I got another plugin html5video; https://ckeditor.com/cke4/addon/html5video
Please help in integrating the plugin with CKEditor available with Liferay 7.
Thus, requesting you to help in accomplishing either of the above solution in order to achieve video functionality in Liferay 7 webcontent.

Have a look at the lfr-dxp-src/modules/apps/foundation/frontend-editor/frontend-editor-ckeditor-web module. It contains all the CKeditor related code.
Froma quick look over it it seems that you should focus on 2 things:
Get the plugin code.
You would need a fragment bundle for that that will inject the necessary JS into the frontend-editor-ckeditor-web.
Look here for insperation: lfr-dxp-src/modules/apps/foundation/frontend-editor/frontend-editor-ckeditor-web/src/main/resources/META-INF/resources/_diffs/plugins/media
Probably you will need to change the configuration of the CKEditor
You need to create an edit options contributor. Make sure that you put this in a separate module form the fragment as the fragment.
Look here for inspiration: com.liferay.frontend.editor.ckeditor.web.editor.configuration.CKEditorConfigContributor

Related

I need ckeditor to work on a smart phone

I understand that CKEDITOR doesn't work on smart phones. Someone provided a workaround that required editing the ckeditor.js. The statement he said to look for isn't in my copy of ckeditor.js so I'm stuck.
Also, ckeditor.js cannot be easily edited as it is all strung together in one big line. Is there a way to 1) get a copy of ckeditor that can be edited and 2) what do I have to do so it can be used on smart phones
Thanks in advance,
Paul
CKEditor 4 is compatible with mobile environments - refer to the official compatibility documentation. If you are using some antique version like CKEditor 3 (that predates most mobile environments), upgrade to latest CKEditor 4.
ckeditor.js is minified for better performance on production environments, but you can grab the source version any time directly from the GitHub repository or through CKEditor Online Builder (check "Source (Big N’Slow)" at the bottom).

Disable "intelligent" anchor look up of link dialog

When adding a link using the default link-plugin, I want to be able to write "what-ever", e.g. #my-id. The link-plugin, doesn't allow this. It extracts all possible "anchors" in the current text being edited, but in my case, it is just part of a bigger "page".
Any ideas on configuration options, or do I need to write a custom plugin?
There are numerous suggestions around on how-to configure the existing plugins and remove UI-elements etc. It does not work in current version (4.4.3), but thankfully you can build your own plugin and remove the existing one, quite easily. There's a good explanation of a similar plugin in the documentation: http://docs.ckeditor.com
I also wrote a bit about this here: http://danielwertheim.se/2014/08/15/ckeditor-the-link-plugin-is-painfully-clever/

Good tool to create documentation for jQuery plugin?

I wrote a Javascript (jQuery) plugin. Now I want to write a documentation site for it. Is there a good tool to create such a site out of some offline file formats or works like a CMS?
I know this answer has been asked before, but the last answers are from 2011. Is there anything new that does an awesome job in writing documentation?
There are a few new tools for generating websites or blogs from code/directory.
Bootstrap v3 just switched to jekyll for documentation. jekyll knows how to process Markdown or Liquid (markdown flavours)
Grunt.js is also used for all sorts of automated task. One of these being documentation generation. Search their plugin list for doc
assemble.io is another tool for generating documentation pages
I'll extend if I bump into others. I am not sure if this is exactly what you need, but they are general purpose so I am sure a jQuery plugin can fit in.

PDF Manipulation in Expression Engine

I am currently working on a project using the Expression Engine Framework, which as a c# developer is a little alien to me!
I am needing a pdf manipulation plugin for EE so that every PDF a client uploads has their profile's link appearing at the bottom (preferably clickable but not essential). I have had a look around but cannot find anything to help me. There is a watermarker in EE for images but not for PDFs which is annoying.
In C# we have Itextsharp which does the job perfectly - I wonder if I am going to have write a custom EE Extension to do the job for me.
Just wondered if anybody out there has ever had to do something similar and can point me in the right direction.
Many Thanks!
There are many ways to modify PDF's with PHP. See PDF Editing in PHP?
http://www.setasign.de/products/pdf-php-solutions/fpdi/
http://www.fpdf.org/
http://framework.zend.com/manual/1.12/en/zend.pdf.html
https://github.com/dompdf/dompdf
These are just libraries, so load one into the application and use it in your controller.

Joomla plugin manager missing options, how do I start trouble shooting this?

There are no options displayed when I'm looking at a plugin with the plugin manager. Where there should be a menu for basic and advance options is just white space. How can I start trouble shooting this problem? Other installed extensions work fine and hours of searching about plugin options make me think this is a peculiar error. This is what my menu looks like http://i.stack.imgur.com/s2S4K.png
The plugin you are using is not written for Joomla 1.6, the XML manifest needs to be updated at the very least. The plugin itself may also need to be rewritten. I would start withe the XML file first, you can find details on the changes that need to be made here - http://www.theartofjoomla.com/home/9-developer/112-upgrading-a-plugin-to-joomla-16.html

Resources