We Are Proud To Welcome Padraic Mcateer To Our Web Development Team
Written by Martin Wong on December 30, 2010

We are proud to welcome Padraic Mcateer to our web development team. An Irish expat who recently re-located to Vancouver, Padraic has over 10 years of experience in digital design working for high profile clients like Travelocity, RIM, Proctor & Gamble, Ogilvy and Kimberley-Clark.
He has been involved in the development of interactive solutions at every stage of the project process from, idea generation, through to conceptualization, planning, production, testing and final delivery of finished product to the client.
To see more of his work, visit his web portfolio.
Applying the Drupal theme to your web application
Written by Howard Chang on December 20, 2010

Our company uses quite a bit of custom built web applications on our Smartt.com website. When we decided to migrate Smartt.com (a Wordpress website) to Drupal, we immediately ran into problems applying the Drupal theme to those custom built applications.
I hope this solution that we discovered can help you if you are also struggling with the same problem.
- Create a page node in Drupal and call it Wrapper Top. Write down the node ID as well as the page URL (let’s assume the node ID here is 3).
- Create a page node in Drupal and call it Wrapper Bottom. Write down the node ID as well as the page URL (let’s assume the node ID here is 4).
- Create a file that only includes your Drupal header and some additional markup, and call it page-node-3.tpl.php under your Drupal theme directory.
- Create another file that contains only the footer section of your Drupal template, and call it page-node-4.tpl.php under your Drupal theme directory. Now if you try to access those two pages, you’ll see one with only the header and one that has no style applied but has all the footer HTML markup.
- In your web application, read and output the Wrapper Top page in the header section and do the same to read and output the Wrapper Bottom page in the footer section.
- If your web application has its own title, you can use str_replace or preg_replace to manipulate the Wrapper Top page content before you print the content out.
Image credit: Gábor Hojtsy /cc
Elite Business Centres – Website design, development & SEO
Written by admin on May 19, 2009
