<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Danny Englander Drupal blog - Articles</title>
    <description>RSS Feed for theming</description>
    <link>https://www.dannyenglander.com</link>
    <language>en-us</language>
    <managingEditor>dannyenglander311@gmail.com (Danny Englander)</managingEditor>
    <pubDate>Tue, 05 May 2026 01:26:38 GMT</pubDate>
    <lastBuildDate>Tue, 05 May 2026 01:26:38 GMT</lastBuildDate>
    <atom:link href="https://www.dannyenglander.com/tag/theming/rss.xml" rel="self" type="application/rss+xml" />

    <item>
      <title>Implementing a React App and Connecting it to a Custom Drupal Block to Pull in Remote API Data</title>
      <description>Build a React app and test it inside its own environment and then wire it up to Drupal for seamless integration.</description>
      <pubDate>Mon, 23 May 2022 05:00:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2022-05-23-implementing-react-app-as-custom-drupal-block-to-pull-remote-api-data/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2022-05-23-implementing-react-app-as-custom-drupal-block-to-pull-remote-api-data/</guid>
    </item>
    <item>
      <title>Drupal 8 &amp; 9 Theming: How to Render and Format JSON Data With PHP and Twig Using the JSON Field Module</title>
      <description>There&#039;s a neat little Drupal module called JSON Field and recently, I had a chance to play around with it. Out of the box, JSON field is a just a plain field where JSON data can be input and output on a web page.</description>
      <pubDate>Tue, 08 Jun 2021 07:00:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2021-06-08-drupal-8-9-theming-how-to-render-format-json-data-with-php-twig-using-json-field/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2021-06-08-drupal-8-9-theming-how-to-render-format-json-data-with-php-twig-using-json-field/</guid>
    </item>
    <item>
      <title>Drupal 8 &amp; 9 Tutorial: a Method to Group Fields in Layout Builder Using Ctools Entity View</title>
      <description>I&#039;ve been building Drupal 8 sites with Layout Builder and one feature that I think is missing is the ability to group specific fields inside a wrapper for enhanced theming; a layout within a layout if you will.</description>
      <pubDate>Sun, 27 Sep 2020 09:00:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2020-09-19-drupal-8-9-architecture-method-to-group-fields-in-wrapper-layout-builder-ctools-entity-view/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2020-09-19-drupal-8-9-architecture-method-to-group-fields-in-wrapper-layout-builder-ctools-entity-view/</guid>
    </item>
    <item>
      <title>Layout Builder With Drupal 8: a Few Tips, Tricks, and Gotchas</title>
      <description>Over the past month, I have been working on a large scale Drupal 8 build that is leveraging the Layout Builder module for much of the site&#039;s displays. If you have not used Layout Builder yet for a project and have been wanting to jump in, I hope this article will serve as a good overview.</description>
      <pubDate>Mon, 25 May 2020 09:00:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2020-05-23-layout-builder-with-drupal-8-a-few-tips-tricks-gotchas/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2020-05-23-layout-builder-with-drupal-8-a-few-tips-tricks-gotchas/</guid>
    </item>
    <item>
      <title>Drupal 8 Architecture: How to Add Custom HTML Data Attributes to Menus</title>
      <description>In this post, I show you how to extend menu link attributes in a custom module</description>
      <pubDate>Sat, 23 May 2020 09:00:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2020-05-22-drupal-8-architecture-how-to-add-custom-html-data-attributes-to-menus/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2020-05-22-drupal-8-architecture-how-to-add-custom-html-data-attributes-to-menus/</guid>
    </item>
    <item>
      <title>Drupal 8 Theming: How to Render Custom Datetime formats For Events With Twig</title>
      <description>In this blog post, I will show you how to theme custom datetime formats using Twig in Drupal 8</description>
      <pubDate>Sat, 01 Feb 2020 09:00:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2020-02-01-drupal-8-theming-how-to-render-custom-datetime-formats-with-twig/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2020-02-01-drupal-8-theming-how-to-render-custom-datetime-formats-with-twig/</guid>
    </item>
    <item>
      <title>Drupal 8 Architecture: Video Tour for Designing Structured Modular Content</title>
      <description>In this screencast, I&#039;m going to walkthrough how I&#039;ve been designing structured modular content with Entity Construction Kit and Inline Entity Form in Drupal 8.</description>
      <pubDate>Sun, 18 Sep 2016 16:54:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2016-09-18-drupal-8-architecture-video-tour-designing-structured-modular-content-using-entity-construction/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2016-09-18-drupal-8-architecture-video-tour-designing-structured-modular-content-using-entity-construction/</guid>
    </item>
    <item>
      <title>Drupal 8: How to Define Variables in Twig Templates as Custom Classes</title>
      <description>For the past seven months, I&#039;ve been designing, building, and theming with Drupal 8 for my own side project. Along the way, I&#039;ve seen huge advancements in these realms versus what was possible with Drupal 7.</description>
      <pubDate>Thu, 15 Sep 2016 18:06:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2016-09-15-drupal-8-theming-how-define-variables-twig-templates-use-custom-html-classes/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2016-09-15-drupal-8-theming-how-define-variables-twig-templates-use-custom-html-classes/</guid>
    </item>
    <item>
      <title>Drupal 8: How to Craft Custom Theme Hook Suggestions &amp; Templates</title>
      <description>In Drupal 8, there&#039;s templates for just about anything and with Drupal 8&#039;s new theme hooks, you can really narrow in on crafting a custom template for your specific use case. This makes getting at and altering markup far more accessible than it was in Drupal 6 and 7.</description>
      <pubDate>Tue, 10 May 2016 07:46:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2016-05-10-drupal-8-theming-tutorial-how-craft-custom-theme-hook-suggestions-and-templates/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2016-05-10-drupal-8-theming-tutorial-how-craft-custom-theme-hook-suggestions-and-templates/</guid>
    </item>
    <item>
      <title>Drupal 8 Development: 5 Things to Add to Your Theming Toolbox</title>
      <description>My uncle used to say, &quot;You have to use the right tool for the job.&quot; This is no different when it comes to Drupal 8 theming and development.</description>
      <pubDate>Sun, 08 May 2016 08:03:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2016-05-08-drupal-8-development-5-things-add-your-theming-toolbox/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2016-05-08-drupal-8-development-5-things-add-your-theming-toolbox/</guid>
    </item>
    <item>
      <title>Drupal 8 Theming: How to Set Custom HTML Classes in a Block Region</title>
      <description>Now that I&#039;m digging into Drupal 8 theming and its awesomeness, I&#039;m discovering some really useful methods and functions. At the same time, I&#039;m learning a lot and having fun.</description>
      <pubDate>Sun, 27 Mar 2016 10:27:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2016-03-27-drupal-8-theming-how-set-custom-html-classes-block-region/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2016-03-27-drupal-8-theming-how-set-custom-html-classes-block-region/</guid>
    </item>
    <item>
      <title>Drupal 8: Attaching Core Libraries and Other Scripts to Your Theme</title>
      <description>In this blog post, we learn how to add core and theme scripts in to Drupal 8 using a theme libraries YML or YAML file.</description>
      <pubDate>Sun, 06 Apr 2014 16:54:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2014-04-06-drupal-8-attaching-core-libraries-and-other-scripts-your-theme/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2014-04-06-drupal-8-attaching-core-libraries-and-other-scripts-your-theme/</guid>
    </item>
    <item>
      <title>Drupal Theming: Adding Font Awesome Icons to Menu Items</title>
      <description>I&#039;m currently working on a Drupal build where I&#039;d like users to be able to easily add icons to menu items through the UI. Enter FontAwesome, the scalable vector icon font that leverages the power of CSS. That in combo with the infamous Menu Attributes module allows users to add custom classes to Drupal menu items via the Menu edit interface on a per menu item basis. This is ideal for what we need to accomplish.</description>
      <pubDate>Wed, 26 Mar 2014 20:23:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2014-03-26-drupal-theming-adding-font-awesome-icons-menu-items/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2014-03-26-drupal-theming-adding-font-awesome-icons-menu-items/</guid>
    </item>
    <item>
      <title>Eclectic but Useful Drupal Modules</title>
      <description>An overview of an eclectic mix of modules I&#039;ve found really useful lately for some projects I&#039;ve been working on with a few examples and use cases.</description>
      <pubDate>Fri, 05 Jul 2013 09:02:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2013-07-05-eclectic-useful-drupal-modules/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2013-07-05-eclectic-useful-drupal-modules/</guid>
    </item>
    <item>
      <title>Leveraging Drupal 7 API Functions for Theming Field Array Element Data</title>
      <description>In my last article I demonstrated how to extract basic data from field array elements which is ideal for custom node theming. The key to this is using *field_get_items*. I&#039;ll expand upon that by adding in additional Drupal API functions to enhance and format these Field array elements.</description>
      <pubDate>Thu, 24 Jan 2013 10:56:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2013-01-24-leveraging-drupal-7-api-functions-theming-field-array-element-data/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2013-01-24-leveraging-drupal-7-api-functions-theming-field-array-element-data/</guid>
    </item>
    <item>
      <title>Drupal 7 Fields: Digging Deep into the Data for Themers</title>
      <description>In this article, I&#039;ll show how to really dig into data associated with a field and for that I&#039;ll use a preprocess function in your theme&#039;s template.php for the logic and then a variable for presentation in a custom node template.</description>
      <pubDate>Wed, 23 Jan 2013 11:59:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2013-01-23-drupal-7-fields-digging-deep-data-themers/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2013-01-23-drupal-7-fields-digging-deep-data-themers/</guid>
    </item>
    <item>
      <title>Customizing the User Login Page in Drupal 7</title>
      <description>I was recently tasked with theming a customized user login page in Drupal 7. I could not find a whole lot of documentation for this so the first place I looked was in the core modules folder hoping to find something like user--login.tpl.php that I would be able to copy and put in my theme folder for an override.</description>
      <pubDate>Fri, 17 Aug 2012 19:59:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2012-08-17-customizing-user-login-page-drupal-7/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2012-08-17-customizing-user-login-page-drupal-7/</guid>
    </item>
    <item>
      <title>Customizing the Title on Account Pages in Drupal 7 Using a Theme Preprocess Function</title>
      <description>The Drupal 7 Account pages (user, user/register, user/password), all have the same Title, i.e. &quot;User Account&quot;. I just ran up against this issue and my client wanted different / custom titles on these pages.</description>
      <pubDate>Wed, 25 Jul 2012 08:54:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2012-07-25-customizing-title-account-pages-drupal-7-using-theme-preprocess-function/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2012-07-25-customizing-title-account-pages-drupal-7-using-theme-preprocess-function/</guid>
    </item>
    <item>
      <title>JQuery Theming Tips for Drupal 7</title>
      <description>I often see posts on the drupal.org forums and elsewhere in regard to implementing jQuery scripts and code into Drupal. It seems common that users try to attach JQuery right within page.tpl.php or html.tpl.php. In other words, it&#039;s hard-coding a script into a page and it&#039;s not ideal.  Some try to render it using the PHP filter within a block or node.</description>
      <pubDate>Wed, 18 Jul 2012 09:52:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2012-07-18-jquery-theming-tips-drupal-7/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2012-07-18-jquery-theming-tips-drupal-7/</guid>
    </item>
    <item>
      <title>Theming a Views Post Date With Drupal 7 (&quot;Date in Parts&quot;)</title>
      <description>In my last blog post I showed how to theme a node post date. I&#039;ll take it one step further this time and show how to do the same thing with a View. This assumes you are using the Views Module, and a use case would be if you want to display a feed of items with titles and teasers such as blog posts or news.</description>
      <pubDate>Mon, 02 Jul 2012 16:20:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2012-07-02-theming-views-post-date-drupal-7-date-parts/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2012-07-02-theming-views-post-date-drupal-7-date-parts/</guid>
    </item>
    <item>
      <title>Theming a Node Post Date With Drupal 7</title>
      <description>In this article I will show you how to theme a post date in Drupal 7. The goal is to take a boring date printed inline and theme it so it stands out as a design element.</description>
      <pubDate>Wed, 14 Mar 2012 17:55:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2012-03-14-theming-node-post-date-drupal-7/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2012-03-14-theming-node-post-date-drupal-7/</guid>
    </item>
    <item>
      <title>How to add a block region to a node page in Drupal 6</title>
      <description>As a Drupal themers / front end developers, we are always asked to push the envelope of what&#039;s possible with design and theming. With Drupal 6, custom block regions are usually added in page.tpl.php which is normally outside of the actual page node content / comments. It would be above, below content or in sidebars typically.</description>
      <pubDate>Thu, 30 Dec 2010 07:29:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2010-12-30-how-add-block-region-node-page-drupal-6/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2010-12-30-how-add-block-region-node-page-drupal-6/</guid>
    </item>
    <item>
      <title>Theming Unique Home Page Elements in Drupal with $is_front &amp; PHP</title>
      <description>Ask 10 Drupal Themers how they would accomplish a task in Drupal and you just might get 10 different answers. Most likely those 10 different ways of accomplishing the task would all be valid and unique. This concept would apply when theming a home page element in Drupal; there are several different ways of going about this.</description>
      <pubDate>Wed, 20 Oct 2010 08:29:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2010-10-20-theming-unique-home-page-elements-drupal-6-isfront-php/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2010-10-20-theming-unique-home-page-elements-drupal-6-isfront-php/</guid>
    </item>
    <item>
      <title>Creating Custom Content Type Page Templates with Drupal 6</title>
      <description>We were recently asked to create custom landing pages for a Google ad campaign for a Drupal site we developed. The issue we faced was that the layout for the landing page was not really close to anything in the existing theme.</description>
      <pubDate>Wed, 02 Jun 2010 18:21:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2010-06-02-creating-custom-content-type-page-templates-drupal-php/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2010-06-02-creating-custom-content-type-page-templates-drupal-php/</guid>
    </item>
    <item>
      <title>Rewriting Drupal Views Output for Custom Theming &amp; CSS</title>
      <description>I love it when we discover one of those wonderful Drupal gems that is not well documented and is very powerful in creating some nice Drupal Views theme customization. We were recently tasked with creating an events calendar that has a custom CCK field called &quot;City&quot;. There&#039;s a  drop down menu with a list of cities to assign the event to.</description>
      <pubDate>Thu, 20 May 2010 10:33:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2010-05-20-rewriting-drupal-views-output-custom-theming-css/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2010-05-20-rewriting-drupal-views-output-custom-theming-css/</guid>
    </item>
    <item>
      <title>Leveraging Custom Body Classes for Advanced Theming in Drupal 6</title>
      <description>I recently developed a Drupal site where each page in the site was based on a custom content type and needed some very specific theming. Although my  custom theme was based on 960.gs, I decided to borrow from the zen theme its custom body class implementation to give more meaningful CSS classes to leverage for theming.</description>
      <pubDate>Mon, 10 May 2010 10:12:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2010-05-10-custom-body-class-php-advanced-theming-and-css-drupal-6/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2010-05-10-custom-body-class-php-advanced-theming-and-css-drupal-6/</guid>
    </item>
    <item>
      <title>How to Customize and Theme Post &amp; Date info in Drupal 6</title>
      <description>When I was theming my blog in Drupal, I decided I wanted a better way to customize and display post info such as wording used and the way date was displayed. The first step is to have a look around and see where the code is coming from that renders this info. I viewed the files in my custom theme folder and discovered these few lines of code in node.tpl.php</description>
      <pubDate>Thu, 01 Apr 2010 10:33:00 GMT</pubDate>
      <link>https://www.dannyenglander.com/blog/2010-04-01-how-customize-and-theme-post-and-date-info-drupal/</link>
      <guid isPermaLink="true">https://www.dannyenglander.com/blog/2010-04-01-how-customize-and-theme-post-and-date-info-drupal/</guid>
    </item>
  </channel>
</rss>