To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Tools > Dreamweaver

Dreamweaver In need of help with Dreamweaver?

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-17-2003, 05:11 PM   #1
JF1980
Member
 
Join Date: Aug 2002
Location: London, England
Posts: 57
Design View?

Hi peeps.

I have been using DWMX to develop php apps for a while but have just started using the smarty template engine to seperate my php and html.

When I want to edit one of my .tpl files, which is a pure html file, just the extension is different, DWMX will only let me see this in code view, not design view. It still does this even if I rename the file to .html

Any ideas, it's very annoying!!!
JF1980 is offline   Reply With Quote
Old 05-19-2003, 06:54 PM   #2
trinitywave
Member
 
Join Date: May 2003
Posts: 36
Reply

Did you do any coding outside of Dreamweaver at all.... If so most of the time it screws it up.... And dreamweaver can recognize it..
trinitywave is offline   Reply With Quote
Old 05-19-2003, 08:32 PM   #3
mzanimephp
genki ni shitemashitayo
 
mzanimephp's Avatar
 
Join Date: Dec 2002
Location: California
Posts: 274
Thats true, but Dreamweaver wasn't really designed to view .tpl files in WYSIWYG (design) view.

I know you can make Dreamweaver MX view other types of unsupported extensions such as php4 as text, but it is specifically only designed to interpret HTML in design view. If your clever enough you might want to try looking into the resource XML files* and see if there is some kind of configuration which will allow you to insert the .tpl type of file for design view.

*Most of Dreameavers settings were done in XML, if you ca ntweak these, you might be able to modify the program to your needs. But if you don't know XML very well, I'd wouldn't recommend doing this.
__________________
Scripting PHP, one line at a time | My web site
mzanimephp is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 01:10 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.