Ich bin

Philipp Schrenk

Das ist mein persönlicher Blog und Wissensgarten über Webentwicklung, Drupal, Open Source, Linux und andere Dinge aus meinem Leben.

Neueste Inhalte

9 von 9 neuesten Inhalten werden angezeigt.

The features of Drupal.org - a wishlist

Von Philipp am 09.09.2019

For the last few months I'm building a community platform based on Drupal 8 (the work is still in progress). Although it's a great (or better the) resource to find information about Drupal, In my opinion some important features are still missing.. A step into the right direction: the user's starred list In the last year there was a awesome improvement called the starred list available on the user's profile. A user is able to bookmark different kind of content (e.g. a module's profile page or a page of the Drupal documentation). Then all the bookmarked content is listed on a view. This small feature helps shortening the research time in an enormous way, when you are searching the needle in a hay stack . One thing here I really would like to see is, that the list is searchable. Wish list feature number one: up and down voting widget on project pages To get a faster insight, we should implement a up and down voting widget. Wish list feature number two: donate to the developer widget For those people who are'nt able to contribute back to Drupal, because they are not able to code patches, we should establish a widget where they can donate money to the developer directly. This is in my opinion one more incentive for developers to force development of a module. Of course donating money should always happen on voluntarily base. Wish list feature number three: Drupal best practices/how-to's/cookbook Although Drupal.org is a great information source already, it's often quite difficult to find some information. In my opinion there should be a separate documentation, how to solve different use cases. It should include what modules should be used, and how they play together. For example: "How to sell site access via user roles" Conclusion Drupal is great (as already mentioned) as the information source for Drupal, but over the years I invested hours to find what I'm searching for. Especially for beginners is even more difficult to dive in into the Drupal the universe. We should get inspired by websites like drupal.stackexchange.com or drupalize.me to provide a better usability and user experience on drupal.org. We should never forget, that the beginners of today may be the developers of tomorrow. So it should be our all intention, to make Drupal.org as much as possible to easy to use.

A great tool for editors: Drupal's new "Layout Builder"

Von Philipp am 18.07.2019

The article was written as part of a comment I left on this blog post by webwash. I'm building a site with D8 currently. which using Layout Builder for some content types. A great effort and progress for Drupal as CMS, because it's a massive improvement for Drupal's UX. Currently, Layout Builder has some "child diseases". Blocks are not translatable yet, when they are created via Layout Builder Overwritten block titles aren't translatable too Some visibility options of the normal block layout are missing when using Layout Builder, which are necessary (access regulation by role, url path) The CSS of the section is often difficult to trigger, because of missing css classes Templating seems not ready yet, would like more template suggestions out of the box (maybe in combination with css classes/ID's mentioned above) Will Layout Builder will replace paragraphs module? Well, as you wrote too, it depends on the project requirements IMHO. In my opinion I like the Lego like bricks principle, to build for example an article node. Okay you would get the same result with custom blocks too, but the block library will look quite overloaded after a short time  and the site admin and the editors will loose the overview. From UX/UI point of view it's more user friendly to click edit on a node and drupal knows what "lego brick" belongs to which article node. I think both modules can co-exist next to each other or even (like in my current project) play together, what works quite good. Instead of overwrite the node template with twig I use Layout Builder for this. The body field is controlled by paragraphs, where I can provide pre-defined "bricks"/paragraphs to my article editors. IMHO Layout Builder can more replace layouting modules like "Display Suite", "Panels" or "Page Manager", when Layout Builder has missing features retrofitted.

Drupal How to: Build a slideshow in a slideshow with Paragraph and slick

Von Philipp am 04.05.2019

For a web project I'm currently developing, I had to find a way to serve a slideshow in another slideshow. IMHO it's a good UI solution to serve content smart, fast and responsive, which is a base requirement for mobile web devices. After some research I decided to go on with slick as slideshow base tool. Other slideshow tools aren't so flexible and extendable than slick carousel is. The joint venture between slick carousel and the blazy library are also a very great effort to mobile users, to serve content compressed if necessary. I would like to use paragraph module too, so that content editors have also a good UI and so a UX as great as possible. Since Drupal 8.7 layout builder is marked as stable now, it can be a suitable alternative. But I think, depending on the technical skills of your users, it's easier to learn them handle their nodes inside one editing form, instead of explain them using using a view, an edit and a layout mode of a node. And nearly everyone played with Lego bricks during childhood, right ;-) ? The solution, I have found, needs Slick module Slick Paragraphs module Slick Views module Now let's dive in deeper: How to create the "inner" slider: Install and activate the module Slick Paragraphs. In my node type I created a new display mode. Inside the display mode my paragraphs field uses "Slick Paragraphs Vanilla" as its formatter. In the formatter you can adjust some settings. I used in this use case "default" everywhere. Now every paragraph in the node is rendered as a slick slide slider. How to create the "outer" slider Install and activate the module Slick Views. Create a new view (in my case a page) and use "Slick Carousel" as format. I used here display "content" and used my display mode I created earlier. Set your views filters as you need (in my case the content type of the node) additionally. If you call the url of the view page, Drupal renders a flexible slideshow in another very flexible slideshow.  

What makes a Drupal migration painful

Von Philipp am 12.09.2018

I posted this comment as response to a blog post on drie.es (https://dri.es/drupal-7-8-and-9). I hope that it will be published soon. IMHO the problem is not the migration of the core to a new version itself, the contrib modules are often a real bottleneck. During the migration from D6 to D7 a few years ago, the probability to find a ported module was quite higher than when migrating from D7 to D8. Now, often there are alternative modules (which also make sense,due to technological evolution), but no possibility to transfer data/content. It's often the search of a needle in a haystack, to find a reliable, stable (successor-/alternative-)module which supports existing data when migrating a grown website to a new Drupal version. As a site builder I would appreciate an API (and perhaps a GUI) where I can export data as painless as possible as CSV, JSON, XML, or YAML. Then it would be much easier to modify data if a (successor-/alternative) module require another data structure (if no suitable upgrade path is available). Also a way vice versa should be provided. Every module should get a special flag, a shield or badge which supports these possibilities. When searching for a module on drupal.org the user should be able to set a filter to find those modules. These modules should be in every Drupal core, and then contrib modules can as a solid base rely on it: Views data export (https://www.drupal.org/project/views_data_export) Feeds (https://www.drupal.org/project/feeds) Just my 2 cents.

Why a "Logic Initiative" for Drupal 8 Core would make sense

Von Philipp am 14.05.2018

I'm not a programmer (I'm too long out of practise with my PHP skills ^^, only building themes and build sites. During my time as a site builder with Drupal 7, I had to implement some "business logic" into almost of the Drupal sites I made.Example: User X clicks on a link and then happens an action if he has the right user role, else another action happensTherefore I learned to appreciate some modules, which are almost part of my standard Drupal (7) working tool box.These Modules are:Rules (https://www.drupal.org/project/rules)Conditional Rules (https://www.drupal.org/project/rules_conditional)Rules Link (https://www.drupal.org/project/rules_link)Flag (https://www.drupal.org/project/flag)To establish a business logic in Drupal 8 "out of the box" which is harmonizing with other core elements too (like views or entity reference field) it would make sense to merge the efforts of  the mentioned modules into a core module (let's e.g. call it "Logic").So whats about founding a "Logic Initiative"?Just my 2 cents  

Ein verpflichtendes Linux für deutsche Behörden muss her!

Von Philipp am 30.03.2018

Die Stadt Atlanta (Georgia, USA) ist Opfer eines Angriffs mit Ransomware geworden (Link zum Artikel von Heise). Tja... das kann in Deutschland genauso passieren. Ich bin ja immer noch für ein Bundeslinux (Eine für deutsche Behörden optimierte Linux-Desktop-Umgebung) unter Federführung des BSI ("Bundesamt für Sicherheit in der Informationstechnik") verpflichtend für alle Behörden auf Bundes-, Länder- und Kommunalebene. Dann wären mehrere Fliegen mit einer Klappe geschlagen: Generell weniger Angriffsfläche für Schadsoftware aufgrund Linux's Systemkonzept Unabhängigkeit vom Willen eines Herstellers was Updates, Supportende etc. angeht Offene Datenformate (Stichwort Open Data) für eine transparente Behördenarbeit. Außerdem ist die Kompatibilität der Dateiformate relativ zukunftssicher. Kostenersparnis aufgrund wegfallender Lizenzgebühren - Aufgrund der Masse an PC's würden sich mehr Hardware-Hersteller um gute (open source? ) Linux-Treiber bemühen. Dadurch wird die Benutzererfahrung (UX) bei Linux um einiges angenehmer und stressfreier. Würde man Mitarbeiter verdonnern, sich berufsbedingt mit Linux auseinander zu setzen, würden es einige auch zu Hause einsetzen. Eine weitere Verbreitung der Linux-Nutzung wäre die Folge. Just my 2 cents

Howto get Nvidia graphics card/video card running on Ubuntu 17.04

Von Philipp am 30.09.2017

The main part of this article was originally my answering post related this question on AskUbuntu. Nvidia's linux driver politics makes it impossible to run an ubuntu live environment out of the box. Even running the standard graphical installer is impossible (perhaps nouveau driver will support  my Nvidia GTX 1080 later). This article shall be a workaround  how to get Ubuntu running, unfortunatelly with propetiary drivers by Nvidia only. This is my initial situation: The graphics card I use is the Nvidia GeForce GTX 1080. I want to use Ubuntu Budgie 17.04. This walkthough should also being suitable for other desktop environments like KDE (Kubuntu). I have no integtated Graphics available. My LAN is connected by cable via DHCP to the internet. My walkthrough how I got it running: Download Ubuntu minimal installer (Link to ubuntu.com) and create a bootable usb stick. I prefer the Windows only tool Rufus. Choose "Install ubuntu" when booting from your boot usb stick and follow the instructions of the text installer (in one step you can choose your preferred desktop environment - in my case ubuntu Budgie) After installing reboot via rescue mode (there's an entry in GRUB) choose "command line prompt" in the rescue mode menu Type sudo ip -o link and look what's the name of your ethernet adapter Type sudo dhclient write-here-name-of-your-ethernet-adapter Then type sudo add-apt-repository ppa:graphics-drivers/ppa Then type sudo apt-get update Then type sudo ubuntu-drivers autoinstall If everything is installed and you have your command line prompt again, type reboot Now the X-Server should work as expected with the GTX 1080

Ist Ubuntu Größenwahn?

Von Philipp am 08.04.2017

Gerade habe ich bei Heise Online einen Artikel (Link zum Artikel/Kommentar bei Heise) gelesen, der diese Frage stellt. Meiner Meinung nach hat Ubuntu bzw. deren "Mutter" Canonical vor allem in den letzten 8/9 Jahren ein paar schwere Fehlentscheidungen getroffen. Vor allem ein paar Eigenentwicklungen hätte man sich sicher sparen können und hier mehr an den bereits bestehenden Projekten mitwirken können. Ein signifikantes Beispiel ist hier die Eigenentwicklung Mir als Nachfolger des X-Servers. Hier wäre es meiner Meinung nach sinnvoller gewesen, Geld und Ressourcen in das bereits bestehende Projekt "Wayland" zu investieren anstatt, das Rad neu zu erfinden. Am Ende hätten bestimmt sowohl die Linux-Community als Ganzes, als auch Canonical und Ubuntu vom Ergebnis profitiert. Auch wenn Unity und das Ubuntu Phone Projekt nun eingestampft werden, halte ich es für sehr falsch, Unity als "Teufelszeug" abzutun. Ubuntu ist die einzige mir bekannte Linux-Distribution, die einen derart hohen Verbreitungsgrad beim "Otto-Normal-Anwender" erreicht hat und durchaus eine passable Alternative zu Windows oder Mac ist. Mittlerweile setzen auch immer mehr öffentliche Verwaltungen (z.B. die französische Nationalversammlung und die französische Gendarmerie) auf Ubuntu.  Die Installation gestaltet sich vergleichsweise einfach, die Systemstruktur ist vom Konzept her sicherer als bei anderen Systemen und über die Paketverwaltungen lässt sich das System sehr aktuell halten. Unity als Desktop-Oberfläche ist nach einer wirklich leichten Lernkurve leicht benutzbar. Optisch war für mich bis vor ein paar Jahren Unity die erste Wahl, alles andere war nicht wirklich benutzerfreundlich und unschön. Mittlerweile haben KDE mit seiner Version 5 und GNOME mit seiner Version 3 sehr gut nachgezogen und alle sehen gut aus. Letzten Endes ist die Wahl der Oberfläche eine Frage des eigenen Geschmacks, das ist klar. Kritisch sehe ich Abstürze von Unity und an manchen Stellen ist sie auch schwerfällig. Die Abstürze waren aber eher bei Compiz bzw. dem X-Server zu verorten, den man für eine grafische Darstellung auf dem Desktop egal bei welcher Oberfläche braucht. Deshalb wäre ein "Weitermachen" von Canonical bei Wayland sehr wünschenswert, um hier eine moderne Basis für alle unix-artigen  Betriebssysteme zu schaffen, bei der möglichst viele "Big Player" mitziehen. Generell finde ich, dass die Vielfältigkeit von Linux gleichzeitig Fluch und Segen ist. Gerade was die Treiberunterstützung angeht, ein Dauerproblem. Ubuntu hat es durch seine relativ hohe Verbreitung verglichen mit anderen Linux Distributionen geschafft, Linux ein großes Stück salonfähig zu machen, sodass es mittlerweile z.B. Spieleportierungen auf Linux gibt und normale Händler Linux-Notebooks anbieten . Auch Steam gibt es für Linux. Natürlich verlangen die Spiele eine möglichst optimale Hardwarenutzung und so wird es für Hardwarefirmen wie z.B. NVIDIA interessanter, aktuelle Treiber bereit zu stellen. Hier lässt sich streiten, wie die Bereitstellung auszusehen hat (offene Lizenz oder nicht), für einen (Normal-)Anwender aber ist es wichtig, dass die Kiste einfach läuft und macht was sie soll. Die Lizenz ist hier nicht relevant. Innovationen brauchen Menschen, die bereit sind sie zu wagen. Das ist meiner Meinung nach kein Größenwahn. Mark Shuttleworth, Millionär und Ubuntu-Gründer hat es ganz gut hinbekommen, für die Anwendergruppe "Normalnutzer" ein alltagstaugliches Linux zu schaffen, auch wenn  manches daneben ging. Nerds und Fachanwender wie die NASA haben genug Alternativen, ein Linux für ihre Bedürfnisse zu schaffen/anzupassen. Dass Shuttleworth nun die Reißleine zieht, ist sicher kein einfacher Schritt, deshalb sehr zu honorieren. Größenwahn wäre es finde ich, an "toten Pferden" festzuhalten. In Foren und sozialen Medien leisten sich manche Maintainer/Entwickler einen sehr kautzigen bis arroganten Tonfall, der mich eher an Größenwahn erinnert. Ich würde mir als Anwender wünschen, dass die Ressourcen an Geld, Zeit und Entwicklern in der Linuxwelt generell wieder mehr gebündelt werden, am besten in der Linux-Foundation oder anderen gemeinnützigen Organisationen. Ziel sollte ein Miteinander sein, denn so sollten sich Probleme leichter lösen und möglichst optimale Ergebnisse erzielen lassen.

Hallo Welt!

Von Philipp am 16.03.2017

Heute startet mein persönlicher Blog. Der Blog ist nicht auf ein bestimmtes Themengebiet festgelegt, mal sehen wohin die Reise geht.

9 von 9 neuesten Inhalten werden angezeigt.

Alle neuesten Inhalte sind geladen.