PDA

View Full Version : Source Highlighting and auto-complete like CSS on DTML file


rubaff
11-13-2008, 05:20 PM
Hi there,

I am editing a files, that are calles *.css.dtml. They are regular CSS files but have to have the DTML extension on them.

Can anyone tell me how wo tell Dreamweaver to handle the dtml files like css files regarding the source-highlighting and the auto-complete feature?

Many thanks!

domedia
11-13-2008, 09:16 PM
Hi rubaff,
in order to understand you situation and give the best possible advice, can you tell me why your CSS files need the .dhtml extension?

I've never seen that before and I just want to make sure I'm getting things right.

rubaff
11-13-2008, 09:39 PM
Hi, it's a css-template file from the CMS plone. The only possibility is to edit the file directly on the server (using dreamweaver), so it's not possible to simply rename the file.

domedia
11-13-2008, 09:51 PM
This is an old article we have describing similar things with other extensions. Not sure which DW version you have, but you can have a look:
http://www.dreamweaverclub.com/dreamweaver-phtml-inc.php