Friday, September 3, 2010
Syndicate content
   
Text Size
     

Signup for
7-Day Blogging Course

Main News

In this article, I'm going to show you how to edit Drupal template files using Dreamweaver.

By default, Dreamweaver cannot render drupal theme files with the stylesheet.

I will show you how to work the theme files using dreamweaver.

First, open a theme files from the core drupal themes, say for example the garland theme. Open the page.tpl.php and view it in the design view within dreamweaver.

Normally this is what we'll going to see in Dreamwaever's Design view when editing drupal template files:

To edit these, we need to link these templates files to a stylesheet that comes with every Drupal themes.

In order to do that, go to CSS styles at the left (Format>>CSS Styles>>Design Time), select Design Time on the contextual menu on the right side, that will bring us to a Design-time Style sheet dialog.

Under "show only at design time" click the plus (+) sign and locate the theme's stylesheet, in this case the style.css file.

Click OK and then now you'll see that in Design view, the render has changed and we can now work with our theme files easily.

Also, as you already notice, you'll see every style declared on this theme. Now you can edit, change the css styles the way you want.

One thing to remember about this design time in Dreamweaver is that no markup or code will be written on the template files when you're editing css file.

Subscribe to CliffordX Weekly Newsletter

Every week, I will send you newsletter for FREE on video trainings and tutorials about blogging in Wordpress and developing websites using Drupal and Joomla!

Creating an account from this site will provide you with a more personalized experience. Find out why...

Other News

2 weeks 1 day ago

Today, I biked starting at Gorordo Ave at Inmaculada School straight to JY Lahug and this is my 2nd day since I started yesterday.

Yesterday, my route was I circle around from Cardinal Rosales Ave, to Salinas Drive, then to JY Lahug then back to Gorordo Avenue. (No Marco Polo Hotel just yet... a while back I bike twice and I almost collapsed!)

These attempt was born out of my desperation to lose some weight. I need to lose 40 pounds at this moment. My last attempt was last March 2009 but never consistently done my exercise.

Now I'm back to zero. I'm thinking of going back to Herbalife and then also continue my exercise routine. Another reason is that my lifestyle is very passive where I spent most of my time sitting on my computer or watching NatGEO or playing ChessCube.

I was reading this article from Bloggussion and was inspired to open a blogging partnership here on CliffordX.com.

So here's what I propose and you can fire up any comments if you want.

I will select just 2 partners (that makes us 3) to be my blogging partners. And if you are chosen it will give you great opportunity to promote your own website or blog, share your tips, video tutorials or crazy ideas with a totally new community and plenty more.

All you have to do is send me an email. All ideas are taken into consideration, and no idea is a bad idea!

So shoot me an email!

 

Note: This announcement will expire on June 30, 2010 but will still be accessible and viewable below after that date.
Locations of visitors to this page