Posts by: juergen

Posts: 1428
Post: 5156
Topic: Newsletter Plugin - anyone interested?

Interested? Absolutely!
I fear I cannot contribute to the code because I'm really not much of a php programmer but I'd love to participate in testing.

Newsletter would be a great addition to gp|Easy!

Grüße aus Graz ;-)

7 years ago
Post: 5155
Topic: Incompatibility with gp|Easy 3.5

Great! Works. Thx!

7 years ago
Post: 5151
Topic: Incompatibility with gp|Easy 3.5

Josh -
Simple Slideshow (upto ver 1.2.1) seems to have issues with gp|Easy 3.5.2 here.
When I want to edit a Simple Slideshow Section I get an alert

Admin Notice: The following file could not be found:

Must have sth. to do with the new modular loading of jQuery UI.


7 years ago
Post: 5141
Topic: Register CKEditor plugins

I'm currently trying to make a plugin that implements mediaelement.js
(IMO the best HTML5 video player with flash fallback)

For best User Experience I'd like to register additional plugins to CKEditor.
There is already a good CKEditor video plugin and I have managed to create a audio variant of it that works.
Once the CKE plugins are loaded, mediaelement.js will take care of the rest (rendering video/audio in all browsers).

I have added the CKEditor plugins to the /include/thirdparty/ckeditor_34/plugins folder and installed them by editing /include/js/inline_edit/inlineck.js  and /include/js/ckeditor_config.js. So far, this works nicely.

The problem is that changes to these folders will be overwritten wehen gpeasy is updated.

Therefore I'd like to load the CKE plugins dynamically from my "mediaelement.js for gp|Easy" plugin but I can't figure out how to do it.

I have tried to use the InlineEdit_Scripts hook and adding some trial-and-error code like...

echo 'CKEDITOR.plugins.addExternal("video",gpBase+"'.$addonRelativeCode.'/ck_editor_addons/video/","plugin.js");';
echo 'CKEDITOR.plugins.addExternal("audio",gpBase+"'.$addonRelativeCode.'/ck_editor_addons/audio/","plugin.js");';
echo 'CKEDITOR.editorConfig = function(config) { '.
   'config.toolbar_gpeasy.push(["Video","Audio"]); '.
   'config.toolbar_inline.push(["Video","Audio"]); '.


...but that isn't working and I'm somehow stuck.

Is there a way to register external CKE plugins from within a gp|Easy plugin and if so, how can it be done?


7 years ago
Post: 5138
Topic: gpOutput :: GetImage () added

Hi feniweb and all

I ran into a similar problem recently and managed to create a datatype to achieve floating blocks/multicolumn layout. It works quite well but it's sort of a dirty hack so I haven't added it to the gpeasy addons page. But it may be helpful for anyone who wants floating sections.

It simply does the following: After installation there is a new Section data-type called "BildLink" that can be added to a page. Such a "BildLink" section has fixed width and height, overflow, margins and float rules defined in the CSS file (bildlink.css) that gets loaded along with the addon. The default content consists of a dummy image and an anchor - both can be edited normally with CKeditor.

To get the addon fully working (especially to make CKeditor play along in admin mode) it's necessary to create a layout variant for the page(s) you want the floating elements to show up and add the CSS from the provided file "add_this_CSS_to_custom_layout.txt" to the Action->CSS area. (This CSS is the most dirty part of the solution because it tweaks all sections' appearance of the currently edited page - even normal Editable Text sections. I couldn't figure out how to solve this otherwise)

If you (most likely) want to change the width/height and margins of the floating "BildLink"-blocks you have to tweak the supplied CSS in the addon. Of course you can add some CSS to get fancy "Read more" buttons and stuff but this could also be added to the theme's CSS.

For my solution I needed to make the image and the text line below link to another page but this can be changed easily by modifying the default content in BildLink.php in lines 40-42.

You can d/l it from here and unzip it into the addons folder.
I recommend a "Developer Installation" for better tweaking the integrated CSS.

I haven't used the addon on gpEasy > 3.0.5 so i can hope it will work in 3.5+
Anyone who is interested in grid/colum layout capabilites for gpEasy and hasn't done so already could upvote this Feedback Suggestion. ;-)

Edited: 7 years ago
Post: 4765
Topic: fonts

BTW: PT Sans is quite a memory hog - probably because it has a very complete glyph set and lots of hinting information. The latter is a reason why it renders quite well as webfont even under Windows XP. If you plan to use all 4 styles it will use 300 kb.

If you want to use a quite similar type you might want to try Droid Sans (the former Android default font)
It has only 2 styles but also great hinting and renders very well. Costs only 50kb in terms of bandwith/speed.

Edited: 7 years ago
Post: 4764
Topic: when will CKeditor adapt cutom styles?

Thx Josh!

I could have found this by myself - lazy me!

7 years ago
Post: 4758
Topic: when will CKeditor adapt cutom styles?

Couldn't figure this out yet:

When will CKeditor use my stylesheets in editor area.
It does on plain install in page content sections but doesn't in sidebar or footer.
When I edit a theme or create a new one after a certain point CKeditor will use it's own styles even in content sections.

Is it a special div id or class or what's the criterium for CKeditor to adopt my theme styles?


7 years ago
Post: 4753
Topic: fonts

You can download/generate  a PT Sans @font-face kit at fontsquirrel:

... or build your own here:

There are lots of customization options to shrink the d/l size but the main problem will persist since the client browser will have to download the webfonts from your host or from Google.

Google Webfonts is likely the faster source and there is a (little) chance that the client has the webfonts already in cache, if loaded from Google.


7 years ago
Post: 4723
Topic: data->_uploaded

Similar here.
I deleted a thumbnail within elFinder (it allowed me despite there was a lock symbol attached to it. Get Info didn't report it to be locked, though).
Now thumbnail function seems to be broken at all.

When I delete the thumbnail folder a new one will be created @ next image upload. But no thumbs will be created anymore.

Have tried all sorts of permissions but didn't change anything.

Edited: 7 years ago


elFinder 2.1.50 in Upcoming Release

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In