Erstellen eines Custom Entity Types in Drupal 8
Eine Präsentation fürs Drupal User Group Treffen am 15. Juli 2015 bei Form & Code.
Add a CKeditor plugin to your Wysiwyg profile
There are many CKEditor plugins available which provide special functionality - mostly new buttons - for your editor. One is CodeSnippet, which adds a simple way to add formatted code snippets to your textfields.
Template driven formatting mit Entity Formatter
Das Drupal Modul Entity Formatter soll Templating mit Drupal einfacher machen. Mit per Drush Befehl erzeugten Klassen kann auf Entity Felder zugegriffen werden und spezielle Formatting-Methoden erleichtern die Datenausgabe.
Präsentation Interface Design
Präsentation auf dem Drupal User Group Treffen über Interface Design.
Batch and Queue API
Batch and Queue API are two similar APIs to process heavy operations without the risk to run into processing timeouts. Here is an overview about the general concepts.
"There is a snippet for that"
Zehn Drupal Snippets aus dem Projektalltag. Eine Präsentation für das Drupal Usergroup Treffen.
Two taxonomy modules for specific but interesting use-cases
The taxonomy system in Drupal is great base for many features. Here are two modules which extend the core functionality in fine way.
Want better node summaries in Drupal 7?
Use the smart_trim module. It provides a couple of trimming options for the formatter of textfields (text, text_long, and text_with_summary).
Get a list of hook implementation with drush
You want to find out which modules on your Drupal installation implement a given hook? Easy with drush: drush fn-hook HOOK_NAME
Profile2_create - a nice sandbox module which makes profile2 more useful
Profile2 is a nice module to build user profiles. However it lacks some basic functionality. This modules tries to fill this gap.
Let the content editor choose the output-format of a field
In Drupal the output of fields is controlled via "formatters". For example an image field can be output as the full image, as a thumbnail or simple as a linked file path.
Snippet to exclude content-types from Drupal core search
You want certain content-types to no show up in Drupal search results? Here is a hook implementation to do so when using Drupal core search module.
Hyphens with CSS
Here are two articles which descript the current state of the CSS property hyphen.
Some possibilities to change drupal forms
There are some possibilities to change the structure of a drupal form. They are trigged at different times in the form building process, and therefor different things can be accomplished with those techniques.
Hi-Res images for Drupal
The strategy is as simple as this: Double the image dimensions and reduce the JPG quality. Deliver this image for normal and high-res devices. The resulting image will have higher resolution, but thanks to the good working JPG compression only marginal bigger filesize.
Drupal 8 CSS Guidelines
https://drupal.org/node/1887918
Internet Explorer CSS limits
Maximum 31 CSS Files per HTML page Maximum 4095 selectors per CSS file Maximum 288kb per CSS file Applies up to IE9 See also
Render a video thumbnail with an image style
Drupal media module fetches thumbnails for videos and stores them locally. Here is a snippet how you can access the thumbnail and render it using an image style.
Do not interfere with Supersized resizing
The supersized jQuery Plugin does magic image resizing with javascript in order to have full size background image, that fits. One thing you should remember is to not interfere with this resizing by your custom CSS rules.
Bug alert. Pathauto and VBO
There is a nasty bug in Pathauto module, which causes troubles when you use Views Bulk Operations module (or generally when you save a node programatically).
Dieter Rams - a german product designer
Today I stumbled upon Dieter Rams, a product designer who worked for Braun for most of his live - from 1955 until his retirement in 1998. More about his biography is available at wikipedia. What really caught my attention, are his 10 design rules.
Theming Gotcha
If you want to change the markup output In Drupal you can replace core theming functions and templates with your own implementations.
Search API / Facet API Gotcha
I had quite some trouble finding a stupid error in my Search API setup. Here is the rule: Don't activate a fulltext field as a facet - otherwise you'll get an error on each search page! Here is the error, which in retrospective make a bit sense:
Allow more tags in descriptions of Webform components
Using the Webform module you can specify some description text for each form-item. Through trial and error I found out, that some HTML is allowed. However I took some time to find out how I can add HTML tags to this set of allowed tags.
Cache rules everything around me
I did a presentatin at our local Drupal Usergroup meeting about caching last week. Here are my slides :)
- 1 of 2
- next ›