Drupal8 attaching libraries to specific pages

Submitted by AppCreator on Sat, 11/07/2015 - 15:56

Drupal 8 is just days away from stable release and I have finally had a chance to play.
It's a full rewrite so lots of changes, the admin interface seems much cleaner.
This is a short note on attaching libraries in a custom theme.
JavaScript and Stylesheets get attached via libraries which are defined in the {theme-name}.libraries.yml file.
which could look something like:

version: VERSION
css/theme/blocks.css: {}
version: 1.x

Embed an entity within another in Drupal 7

Submitted by AppCreator on Sat, 06/29/2013 - 14:16
This is some notes of techniques used in a recent project to save time if done again. The idea was to display multiple related entities within the main entity, node in this case, and to embed the forms for those entities as well. To keep it neat we will wrap all but the latest entity in a collapsed fieldset. First of you need to create the entities, I used Entity Construction Kit.

Drupal Downunder

Submitted by AppCreator on Thu, 11/25/2010 - 14:01

DrupalDownunder The Drupal Downunder site for the conference in January 2011, is live now. It has been evolving over the last couple of months while we build up to what looks to be a very exciting conference. I'd like to take this opportunity to thank the people involved in organising the conference and website.

Water by Design

Submitted by AppCreator on Mon, 02/16/2009 - 17:06

Water by Design

Water by Design website brings together knowledge, experiences and expertise in water sensitive urban design (WSUD) and sustainable urban water management (SUWM) to assist the land development industry and government make the transition towards smarter water management.

Best Reply Module

Submitted by AppCreator on Tue, 12/02/2008 - 07:09

I have released my first Drupal module, best reply. It's a module developed for CSSCreator that allows authors to mark a comment to their topic as the best reply.

Hopefully people will find the module useful for their sites. Currently it is only available for version 5 of Drupal.

The hardest thing about releasing it was trying to grasp the cvs branch and tag structure used at Drupal.

DrupalCamp Australia 2008

Submitted by AppCreator on Tue, 10/21/2008 - 21:44

Last weekend I flew down to Sydney for DrupalCamp Australia 2008. Everyone takes away something different from events like this apart from a t-shirt. For me I met great people with similar interests, and gained the motivation to improve my skills.
All the presentation I saw were excellent, the most memorable for me were Unit Testing by lyricnz, CVS Patches by Jaza, Panels 2.x Jeff, and Maintaining Drupal with Git by Gordon.

Zoom Out

Submitted by AppCreator on Thu, 07/24/2008 - 12:30

When developing the APSystems website the client wanted the banner image to zoom into focus when the page loads. Firstly I was thinking of doing it in Flash, my Flash skills are pretty rusty so I came up with a method of doing it via jQuery's animate effect.

Drupal's Dynamic layouts

Submitted by AppCreator on Thu, 06/26/2008 - 12:31

One of the many things taken for granted when working with Drupal is that ability to have dynamic layouts. Different layouts for different pages, based on the blocks assigned to regions for the page.

Variables are set during page construction that can tell you how many columns are required. Which in combination with the page.tpl.php and your stylesheet can provide any number of layouts.