This article highlights an issue faced by developers who have worked on caching using Authcache ESI and Varnish. At times, the blocks for which Authcache was enabled wouldn't get displayed on the page. After debugging, it wasdiscovered that the main issue was the interaction between Authcache ESI and Context module. The Context module displays blocks even if they are not enabled to be shown on any region. Authcache ESI consider these blocks as disabled and do not cache them. It doesn't take into account the fact that Context module displays them. As shown in the article, the resolution for this is to create a non-public page and take it off the sitemap.
Follow our blog to learn more about the exciting world of Drupal!
This article demonstrates how to override theme functions in Drupal 7. All theme functions are prefixed with theme_ and can be overridden in template.php. The article is supported by a 4-step process and a snippet of code to help you understand the process better.
This article demonstrates how to use Menu Attributes. Menu Attributes is primarily used to specify additional attributes for menu items. The introduction of this module has benefited developers to a great extent. Earlier, they had to alter the php code and write hooks to even add a single class to a menu item. Menu Attributes features a UI that can easily be used to add additional attributes.
This article demonstrates how to use the views filter in Drupal 7 by creating a Job search functionality. Since Filters are used to specify selection criteria to select records from a table, it helps provide accurate information. In Drupal 6, all filters are ANDed together. On the other hand, in Drupal 7, you can either use AND or OR as filter criteria.
This article demonstrates how to create a custom item list in Drupal 7. Drupal deploys a particular format to display lists through the site. This article shows you how to build your own list by using the Drupal function theme_item_list. Use the code provided in this article to achieve this. theme_item_list can be overridden in your template.php file to remove/alter the item-list class.
Sass or Syntactically Awesome Stylesheets is as an extension of CSS3. It is popularly used using the command line tool. This article showcases Mixins, selector inheritance and other details you should be aware of while working with Sass.
The article also highlights the steps to generate css from Sass.