Hi, I'm MrTango

    Author: MrTango

  1. ES6 (vanilla Javascript) alternative to jQuery on()

    In jQuery one can use the on() method (event delegation) to register an event handler for example on the body tag and match bubbling events. This is a vanilla Javascript way to do the same without jQuery.

  2. Plone: subscribe to an event when a new user is registered

    When a new user is registered in Plone, we want to do automated actions with the user.

  3. Smart compact vhost config for nginx Webserver as HTTPS-Proxy for Plone CMS

    Nginx is one of the most used webserver/proxy in front of Plone CMS. This example showes how to setup a compact virtual host for Plone.

  4. Creating an Odoo Meeting object from an Opportunity in a Python Automated Action

    In Odoo you can create objects from an automated action, with a bit of Python code. But creating a Meeting was a bit tricky.

  5. Using Caddy Webserver as HTTPS-Proxy for Plone

    Caddy supports configuration free HTTPS powered by Let's encrypt certificates. This example showes how to setup a virtual host for Plone.

  6. Ansible: Add an empty line before a blockinfile

    How to insert an empty line before a blockinfile inserted block.

  7. Transmogrifier: skip existing items

    How to use collective.transmogrifier.sections.condition to skip existing items, by a catalog query.

  8. The new generation of bobtemplates.plone / plonecli

    the Plone package generator and command line client, bobtemplates.plone/plonecli

  9. Useful stylesheets for layouts done with Plone's Mosaic Editor

    Some useful stylesheets (CSS) for the Plone Grid Editor Mosaic.

  10. Writing a custom service for Plone REST API

    The Plone REST API allows you to reduce client resquests, by expanding a response to include additional information in one single response. This post shows how you can write a service and expand it.

  11. Writing a custom serializer for Plone REST API

    The Plone REST API already provides a lot of useful information and functions by default, but sometimes you want a bit more customization on the backend, for easier usage on the client side.

  12. Iterating over Plone Dexterity fields

    Every Dexterity based object in Plone has a fields defined by one or more schemas. Here is a generic way to iterate over them. This includes also fields defined in behaviors.

  13. Setting pattern_options in a Plone relation field widget

    To use the full power of a RelationWidget in Plone 5, you proably want to set some of the pattern_options like selectableTypes for the widget.

  14. Dynamic screen definitions in i3wm

    Using different monitors on different ports with i3wm, from time to time? Then this is for you.

  15. Plone command line interface - plonecli

    PloneConf after conference sprint report on plonecli and bobtemplates.plone.

  16. Kindle Voyage vs. Tolino Vision HD3

    Meine Erfahrungen aus dem Alltag mit Kindle Voyage und dem Tolino Vision HD 3.