<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[xpersonas drupal development - Medium]]></title>
        <description><![CDATA[Web development for Drupal. - Medium]]></description>
        <link>https://medium.com/xpersonas-drupal-development?source=rss----ee53f8b31e68---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>xpersonas drupal development - Medium</title>
            <link>https://medium.com/xpersonas-drupal-development?source=rss----ee53f8b31e68---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 15:43:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/xpersonas-drupal-development" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Drupal’s Simple Style Guide Module]]></title>
            <link>https://medium.com/xpersonas-drupal-development/drupals-simple-styleguide-fdbcaab36cfc?source=rss----ee53f8b31e68---4</link>
            <guid isPermaLink="false">https://medium.com/p/fdbcaab36cfc</guid>
            <category><![CDATA[drupal-planet]]></category>
            <category><![CDATA[style-guides]]></category>
            <category><![CDATA[drupal-8]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[xpersonas]]></dc:creator>
            <pubDate>Tue, 18 Jul 2017 14:21:47 GMT</pubDate>
            <atom:updated>2017-07-20T16:30:22.735Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.drupal.org/project/simple_styleguide">Simple Style Guide</a> was created to be a fully flexible style guide for Drupal developers and site builders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*95abtCnBExy651JV_dZloA.png" /></figure><p>I’ve been using style guides for a while now. I can’t imagine developing any site without one, regardless of size. The idea behind this module was to enable devs and site builders to create a fully functional, living, style guide with only the elements you want and nothing more.</p><p>What I wanted was the ability to create one in a fast, effecient manner. No elements are required. No elements are added by default. And all this funcationality is fully accessible to site builders without having to write a single line of code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pb7tsayCKW-fxfQmnUd67g.png" /><figcaption>Style Guide Settings</figcaption></figure><p><strong>Default Patterns</strong><br>You can choose from a set of very basic default patterns such as headings, text, lists, blockquote, horizontal rules, table, alerts, breadcrumbs, forms, buttons, and pagination. Chosen elements will appear on the style guide page. Choose as many default options as you like, or choose none.</p><p><strong>Color Palette</strong><br>You also have the ability to create a color palette by adding a hex color code, a class name, and usage descriptions (if desired).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rGR5rVWp51NzG3xMRi4puQ.png" /><figcaption>Live Example of a Color Palette</figcaption></figure><p><strong>Custom Patterns</strong><br>You can also create custom patterns. Custom patterns can be any chunk of html that you want. There are no restrictions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DWqc-7QbdNh6b6qbf9VUGQ.png" /><figcaption>Add Any Custom Patterns</figcaption></figure><p>With these tools, I hope you will be able to create a very flexible style guide/pattern library. To view a live example of a working style guide, you can check out this page:</p><p><a href="https://eisforeveryone.com/simple-styleguide?utm_source=medium.com&amp;utm_campaign=Simple%20Styleguide%20Blog%20Post">https://eisforeveryone.com/simple-styleguide</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fdbcaab36cfc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/xpersonas-drupal-development/drupals-simple-styleguide-fdbcaab36cfc">Drupal’s Simple Style Guide Module</a> was originally published in <a href="https://medium.com/xpersonas-drupal-development">xpersonas drupal development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple Password Reveal for Drupal 8]]></title>
            <link>https://medium.com/xpersonas-drupal-development/simple-password-reveal-for-drupal-8-d80600e4efaa?source=rss----ee53f8b31e68---4</link>
            <guid isPermaLink="false">https://medium.com/p/d80600e4efaa</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[drupal-8]]></category>
            <category><![CDATA[drupal-planet]]></category>
            <dc:creator><![CDATA[xpersonas]]></dc:creator>
            <pubDate>Tue, 18 Jul 2017 14:21:30 GMT</pubDate>
            <atom:updated>2017-07-20T16:30:07.334Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.drupal.org/project/simple_password_reveal">Simple Password Reveal</a> alters password fields on user login and user edit forms to <strong>show plain text by default</strong>, while<strong> </strong>also adding a checkbox for concealing the password as needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xOHChgAaDVkHm17Q9CDPjA.png" /></figure><p>Rather than creating friction for a user to show a password every time by clicking a checkbox, the password is revealed by default. In my own experience, I generally prefer password fields to be plain text almost all the time. It’s only when in public or during a presentation that I want to conceal passwords. And I’m not the only one…</p><ul><li><a href="https://www.lukew.com/ff/entry.asp?1941">LukeW | Showing Passwords on Log-In Screens</a></li><li><a href="https://uxplanet.org/designing-ux-login-form-and-process-8b17167ed5b9">Designing UX Login Form and Process</a></li></ul><p>There is another module that provides similar functionality. However, <a href="https://www.drupal.org/project/simple_password_reveal">Simple Password Reveal</a> takes a different approach than the <a href="https://www.drupal.org/project/password_toggle">Password Toggle</a> module. They use javascript to add a checkbox to each password field in any and all forms. They also have a Drupal 7 version.</p><p>This module attempts to keep things simple by concentrating solely on the <strong>user login</strong> and <strong>user edit</strong> pages. If you need this feature on custom forms, on forms loaded by ajax, or for a Drupal 7 site then this module may not be for you.</p><p><a href="https://www.drupal.org/project/simple_password_reveal">Simple Password Reveal</a> also uses form alters to add one checkbox per form, rather than one checkbox per input. So, for example, when you are on the user edit page you have three password fields — current password, new password, and confirm password. Rather than having a checkbox for each password field, this module only has one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vYugqN3N01akVXhmP8E9rA.png" /></figure><p>Download <a href="https://www.drupal.org/project/simple_password_reveal">Simple Password Reveal</a> and try it out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d80600e4efaa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/xpersonas-drupal-development/simple-password-reveal-for-drupal-8-d80600e4efaa">Simple Password Reveal for Drupal 8</a> was originally published in <a href="https://medium.com/xpersonas-drupal-development">xpersonas drupal development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple MailChimp Module for Drupal 8]]></title>
            <link>https://medium.com/xpersonas-drupal-development/simple-mailchimp-module-for-drupal-8-5f2692cceb6f?source=rss----ee53f8b31e68---4</link>
            <guid isPermaLink="false">https://medium.com/p/5f2692cceb6f</guid>
            <category><![CDATA[mailchimp]]></category>
            <category><![CDATA[drupal-planet]]></category>
            <category><![CDATA[drupal-8]]></category>
            <category><![CDATA[marketing]]></category>
            <dc:creator><![CDATA[xpersonas]]></dc:creator>
            <pubDate>Tue, 18 Jul 2017 14:21:13 GMT</pubDate>
            <atom:updated>2017-07-20T16:29:42.994Z</atom:updated>
            <content:encoded><![CDATA[<p>The <a href="https://www.drupal.org/project/simple_mailchimp">Simple MailChimp</a> module for Drupal 8 intends to be the easiest way to add MailChimp integration to your site.</p><p>There is already a MailChimp module for Drupal, of course. There are several of them.</p><ul><li><a href="https://www.drupal.org/project/mailchimp">MailChimp</a></li><li><a href="https://www.drupal.org/project/webform_mailchimp">Webform MailChimp</a></li><li><a href="https://www.drupal.org/project/mailchimp_ecommerce">MailChimp E-Commerce</a></li><li>and more…</li></ul><p>The main MailChimp module itself does a lot…</p><blockquote>The MailChimp module allows users to manage email marketing efforts through MailChimp’s service. The module supports the creation and sending of campaigns, management of email lists and individual subscribers, and offers standalone subscribe and unsubscribe forms.</blockquote><p>The problem with these modules is that they either do too much, or they are too specific in their use case. What I often need on my sites, more than anything else, is just a checkbox at the bottom of a form that will allow me to subscribe users to my MailChimp list if they choose to do so. Most likely, I need a checkbox at the bottom of many forms.</p><p>I don’t need to manage campaigns, lists, etc. from within my Drupal site. I just need a checkbox. Maybe a few options (MailChimp groups), but that’s it. <strong>And, again,I need it on all forms</strong>. I need it on my subsciption form of course, but I also need it on warranty registrations, user registrations, webforms, or any other form that may be included with my site.</p><p>This is where the <a href="https://www.drupal.org/project/simple_mailchimp">Simple MailChimp</a> module comes in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*yZ2XmZgyBx4x9z4VQ8FeHw.png" /><figcaption>Example form with “group” options.</figcaption></figure><p>Again, this module is not meant in any way to be as robust as the <a href="https://www.drupal.org/project/mailchimp">MailChimp</a> module. You can’t manage subscribers. You can’t work with lists. It simply gives you the ability to add a checkbox for subscribing to a single MailChimp list, and also allows a field for one interest group option.</p><p>To configure this module, you will need your MailChimp API key, list ID, and a mapping of fields. See screenshot below. Under “Enabled Forms” you would enter one Drupal form id per line, and then map the email field (and other fields) to the appropriate merge fields.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*A1vaABRIFdknKEOJy0-afw.png" /></figure><p>Simple MailChimp supports most MailChimp field types:</p><ul><li>text</li><li>zip_code</li><li>number</li><li>address</li><li>date</li><li>phone</li><li>birthday</li><li>website</li></ul><p>The idea of this module is to be simple. It does not make any assumptions. It does not provide any public facing forms. It’s simply for adding a checkbox to existing forms.</p><p>Download <a href="https://www.drupal.org/project/simple_mailchimp">Simple MailChimp</a> and try it out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f2692cceb6f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/xpersonas-drupal-development/simple-mailchimp-module-for-drupal-8-5f2692cceb6f">Simple MailChimp Module for Drupal 8</a> was originally published in <a href="https://medium.com/xpersonas-drupal-development">xpersonas drupal development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unpublish Your Drupal Event Nodes]]></title>
            <link>https://medium.com/xpersonas-drupal-development/unpublish-your-drupal-event-nodes-e93660961f7a?source=rss----ee53f8b31e68---4</link>
            <guid isPermaLink="false">https://medium.com/p/e93660961f7a</guid>
            <category><![CDATA[drupal-8]]></category>
            <category><![CDATA[drupal]]></category>
            <category><![CDATA[drupal-planet]]></category>
            <category><![CDATA[scheduling]]></category>
            <dc:creator><![CDATA[xpersonas]]></dc:creator>
            <pubDate>Tue, 18 Jul 2017 14:20:21 GMT</pubDate>
            <atom:updated>2017-07-20T16:29:29.903Z</atom:updated>
            <content:encoded><![CDATA[<p>One of my pet peeves is searching for a local event and finding details for that event… 3+ years ago.</p><p>Many Drupal sites feature some sort of event type node. It’s really anything with a start date, and likely, an end date. The problem is, most developers don’t take into account whether or not that content should live on once the end date has come and gone.</p><blockquote>Perhaps, in some instances, keeping that content on your site makes sense. In most cases though, it does not.</blockquote><p>For instance, my 3 year old was really into dinosaurs. I knew there was a dinosaur exhibit coming to town, but I didn’t quite remember the name. Searching online provided quite a few local results. And many of those results were for events in the past.</p><h3>Examples</h3><p>Discover the Dinosaurs (06/21/2014)<em><br></em><a href="http://www.evansvilleevents.com/home/events/discover-the-dinosaurs/">http://www.evansvilleevents.com/home/events/discover-the-dinosaurs</a><br><em>(event has since been unpublished!)</em></p><p>DISCOVER THE DINOSAURS ROARS INTO EVANSVILLE! (12/14/2012)<br><a href="http://www.evansvilleevents.com/home/2012/12/discover-dinosaurs-roars-evansville/">http://www.evansvilleevents.com/home/2012/12/discover-dinosaurs-roars-evansville</a><br><em>(event has since been unpublished!)</em></p><p>Dino Dig! (06/02/2015)<a href="http://www.cmoekids.org/events/community-events/dino-dig"><br>http://www.cmoekids.org/events/community-events/dino-dig</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*ip77XO3pcnfKL5GflwcBdw.png" /><figcaption>Event from 2 Years Ago</figcaption></figure><p>Discover the Dinosaurs Unleashed (02/18/????)<br><a href="http://www.evansvilleliving.com/event/discover-the-dinosaurs-unleashed">http://www.evansvilleliving.com/event/discover-the-dinosaurs-unleashed</a></p><p>Sometimes sites will even have past events ranking higher in search results than upcoming events.</p><blockquote>There’s a whole other blog post I could write about how useful it is to have the year accompanying the day and month on web content — particularly tech blog posts. Was this written in February of this year or 2006? How can I know?!?</blockquote><h3>The Drupal Solution</h3><p>For Drupal sites, there’s a relatively easy fix. It requires a small custom module and the contributed <a href="https://www.drupal.org/project/scheduler">Scheduler</a> module.</p><p>The Scheduler module is simple and great. Simply enable it for your content type, and enable, at the very least, the unpublish setting. Once that is set up, create a custom module and invoke the hook_entity_presave() function.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/23501dbc20c538cab3ac1ceadbb77576/href">https://medium.com/media/23501dbc20c538cab3ac1ceadbb77576/href</a></iframe><p>This code is pretty self explanatory. All I’m doing is checking to be sure it’s an event node type that’s being saved, and if so, find the start and end date values to be used when setting the “unpublish_on” field.</p><p>You’ll of course have to make sure your node type and field names match up.</p><p>Once that’s set up, any time an event is saved, your node is scheduled to unpublish one day after the end date.</p><p>If you have a Drupal 7 site, this same idea can be applied. The code in the hook_entity_presave() will be a bit different.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9465a63eb9b7829b9ca7096bffea2b4f/href">https://medium.com/media/9465a63eb9b7829b9ca7096bffea2b4f/href</a></iframe><p>I wish I could start a massive movement to help clean up web content that should have been unpublished or removed long ago. Until then, hopefully this article finds a few devs so that they can ensure their site isn’t one of those sending out poor results.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e93660961f7a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/xpersonas-drupal-development/unpublish-your-drupal-event-nodes-e93660961f7a">Unpublish Your Drupal Event Nodes</a> was originally published in <a href="https://medium.com/xpersonas-drupal-development">xpersonas drupal development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>