Dreamweaver and Drupal

zoon_unit - March 8, 2007 - 20:58

I'd like to get some feedback from anyone else who uses Dreamweaver to work with Drupal.

Here's my situation:

First, I saved a static version of the Drupal front page with the Garland theme, using Firefox's "Save Complete Page" plugin. This, so I could load the static html into Dreamweaver and edit styles.

If I do this with a table based theme like bluemarine, the static page looks just as it does in the browser.

But when I load a tableless, css based theme like Garland, all the divs pile up in one corner. And yet, I can load this same static page into Firefox and it displays perfectly.

Shouldn't Dreamweaver 8 be capable of showing css positioning correctly in the design screen? What's happening here?

may be...

koffer - March 8, 2007 - 21:12

why you just go to theme folder and look the code directly? is the file page: page.tpl.php inside garland theme. about see visually the theme structure. if you do a direct link to style.css ( it is inside the theme folder) you can see the design, drupal use a dinamic link to css so if you dont see it in a server you cant see the css styles.

Dreamweaver does not recognize the tpl.php

zoon_unit - March 9, 2007 - 04:47

If I load the page.tpl.php file, Dreamweaver sees it only as php code and will not render it in Design view.

Besides, if Dreamweaver can't render a tableless form in straight html, it certainly isn't going to be able to do it with a dynamic php document.

div tags and dreamweaver

bcorner - September 29, 2008 - 02:39

starting with Dreamweaver CS3 it will render the div tags correctly.
I have been doing php/mysql/dreamweaver sites for years. However do to some new requirements for my church (that Im volunteering my time for) I am interested in using a CMS. I already have a template designed in dreamweaver. Is there a way to convert it to a drupal template? The code is all css/div/xhtml.

recently answered at

WorldFallz - September 29, 2008 - 15:31

recently answered at http://drupal.org/node/314289

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

 
 

Drupal is a registered trademark of Dries Buytaert.