Drupal Planet https://mark.ie/ en Drupal key_value_expire Table is very large because of Honeypot Module https://mark.ie/blog/web-development/drupal-keyvalueexpire-table-is-very-large-because-of-honeypot-module <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Drupal key_value_expire Table is very large because of Honeypot Module</span> <div class="clearfix text-formatted field field--name-field-intro field--type-text-long field--label-hidden"> <div class="field__items"> <div class="field__item"><p>I had a very large key_value_expire table, even though Honeypot module had been uninstalled.</p></div> </div> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">markconroy</span></span> <span property="schema:dateCreated" content="2020-07-29T18:52:09+00:00" class="field field--name-created field--type-created field--label-hidden">Wed, 07/29/2020 - 19:52</span> Wed, 29 Jul 2020 18:52:09 +0000 markconroy 96 at https://mark.ie Printing Values of a Parent Node from a Drupal Paragraphs Field https://mark.ie/blog/web-development/printing-values-of-a-parent-node-from-a-drupal-paragraphs-field <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Printing Values of a Parent Node from a Drupal Paragraphs Field</span> <div class="clearfix text-formatted field field--name-field-intro field--type-text-long field--label-hidden"> <div class="field__items"> <div class="field__item"><p>Someone asked in Slack today how to print the URL of the node that a paragraph is on. I was up to the challenge.</p></div> </div> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">markconroy</span></span> <span property="schema:dateCreated" content="2019-10-03T16:01:25+00:00" class="field field--name-created field--type-created field--label-hidden">Thu, 10/03/2019 - 17:01</span> Thu, 03 Oct 2019 16:01:25 +0000 markconroy 85 at https://mark.ie Writing View Mode Templates in PatternLab https://mark.ie/blog/web-development/writing-view-mode-templates-in-patternlab <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Writing View Mode Templates in PatternLab</span> <div class="clearfix text-formatted field field--name-field-intro field--type-text-long field--label-hidden"> <div class="field__items"> <div class="field__item"><p>Wanna know my rules when I am writing templates in PatternLab for Drupal view modes such as teasers, cards, search results, etc? Read on, my friend...</p></div> </div> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">markconroy</span></span> <span property="schema:dateCreated" content="2019-09-13T16:53:20+00:00" class="field field--name-created field--type-created field--label-hidden">Fri, 09/13/2019 - 17:53</span> Fri, 13 Sep 2019 16:53:20 +0000 markconroy 83 at https://mark.ie A Very Simple PoC of Using Voice to Admin a Drupal Website https://mark.ie/blog/web-development/a-very-simple-poc-of-using-voice-to-admin-a-drupal-website <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">A Very Simple PoC of Using Voice to Admin a Drupal Website</span> <div class="clearfix text-formatted field field--name-field-intro field--type-text-long field--label-hidden"> <div class="field__items"> <div class="field__item"><p>I was playing around with the SpeechRecognition API last night and thought, "wouldn't it be cool if we could use voice to administer a website?". Then, I put together this tiny proof of concept module for use with Drupal.</p></div> </div> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">markconroy</span></span> <span property="schema:dateCreated" content="2019-05-14T11:10:34+00:00" class="field field--name-created field--type-created field--label-hidden">Tue, 05/14/2019 - 12:10</span> Tue, 14 May 2019 11:10:34 +0000 markconroy 77 at https://mark.ie Printing Regions in Views in Different Places Using the Same Template https://mark.ie/blog/web-development/printing-regions-in-views-in-different-places-using-the-same-template <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Printing Regions in Views in Different Places Using the Same Template</span> <div class="clearfix text-formatted field field--name-field-intro field--type-text-long field--label-hidden"> <div class="field__items"> <div class="field__item"><p>We had a case where on some views we needed to print the header above the exposed filters and on others we needed to print the header after the exposed filters. Here's my simple solution.</p></div> </div> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">markconroy</span></span> <span property="schema:dateCreated" content="2019-04-10T11:08:38+00:00" class="field field--name-created field--type-created field--label-hidden">Wed, 04/10/2019 - 12:08</span> Wed, 10 Apr 2019 11:08:38 +0000 markconroy 76 at https://mark.ie PatternLab: Linking to Patterns https://mark.ie/blog/web-development/patternlab-linking-to-patterns <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">PatternLab: Linking to Patterns</span> <div class="clearfix text-formatted field field--name-field-intro field--type-text-long field--label-hidden"> <div class="field__items"> <div class="field__item"><p>Linking patterns allows us to give our users a real feeling for how the website is going to work, on real devices, which things like InVision can never do. Here's some simple approaches.</p></div> </div> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">markconroy</span></span> <span property="schema:dateCreated" content="2019-03-07T11:27:25+00:00" class="field field--name-created field--type-created field--label-hidden">Thu, 03/07/2019 - 11:27</span> Thu, 07 Mar 2019 11:27:25 +0000 markconroy 74 at https://mark.ie Creating an 'Add to Calendar' Widget in Drupal https://mark.ie/blog/web-development/creating-an-add-to-calendar-widget-in-drupal <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Creating an &#039;Add to Calendar&#039; Widget in Drupal</span> <div class="clearfix text-formatted field field--name-field-intro field--type-text-long field--label-hidden"> <div class="field__items"> <div class="field__item"><p>A simple request: we need an 'Add to Calendar' widget to add our events to Google Calendar, iCal, and Outlook. Simple (once I had completed it!).</p></div> </div> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">markconroy</span></span> <span property="schema:dateCreated" content="2019-01-08T21:11:37+00:00" class="field field--name-created field--type-created field--label-hidden">Tue, 01/08/2019 - 21:11</span> Tue, 08 Jan 2019 21:11:37 +0000 markconroy 72 at https://mark.ie Can I Stop PatternLab Variants from Inheriting Data from their Parent Component https://mark.ie/blog/web-development/can-i-stop-patternlab-variants-from-inheriting-data-from-their-parent <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Can I Stop PatternLab Variants from Inheriting Data from their Parent Component</span> <div class="clearfix text-formatted field field--name-field-intro field--type-text-long field--label-hidden"> <div class="field__items"> <div class="field__item"><p>I have a card component with a title, image, text, and link. How come all my card variants are inheriting all the values from the default one? Short answer, you don't. It's a feature, not a bug.</p></div> </div> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">markconroy</span></span> <span property="schema:dateCreated" content="2018-10-19T12:01:33+00:00" class="field field--name-created field--type-created field--label-hidden">Fri, 10/19/2018 - 13:01</span> Fri, 19 Oct 2018 12:01:33 +0000 markconroy 67 at https://mark.ie 10 Thoughts on Running a Front-end Team for an Enterprise Website https://mark.ie/blog/web-development/10-thoughts-on-running-a-front-end-team-for-an-enterprise-website <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">10 Thoughts on Running a Front-end Team for an Enterprise Website</span> <div class="clearfix text-formatted field field--name-field-intro field--type-text-long field--label-hidden"> <div class="field__items"> <div class="field__item"><p>What would make for a first-class, enterprise-ready, front-end development team?</p></div> </div> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">markconroy</span></span> <span property="schema:dateCreated" content="2018-09-22T13:55:45+00:00" class="field field--name-created field--type-created field--label-hidden">Sat, 09/22/2018 - 14:55</span> Sat, 22 Sep 2018 13:55:45 +0000 markconroy 63 at https://mark.ie Responsive Images with PatternLab and Drupal - the easy way https://mark.ie/blog/web-development/responsive-images-with-patternlab-and-drupal-the-easy-way <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Responsive Images with PatternLab and Drupal - the easy way</span> <div class="clearfix text-formatted field field--name-field-intro field--type-text-long field--label-hidden"> <div class="field__items"> <div class="field__item"><p>Responsive images in PatternLab get a bit of a bad rap sometimes, because they are tricky to have in PL and Drupal. Here's my "easy way" of achieving it.</p></div> </div> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">markconroy</span></span> <span property="schema:dateCreated" content="2018-09-20T15:39:06+00:00" class="field field--name-created field--type-created field--label-hidden">Thu, 09/20/2018 - 16:39</span> Thu, 20 Sep 2018 15:39:06 +0000 markconroy 62 at https://mark.ie