Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 19th, 2003, 01:20 AM
michaelrosejr michaelrosejr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 michaelrosejr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Forcing Design Mode/View

I just started using Dreamweaver MX and I noticed that when I open a file with the .php extension Dreamweaver MX forces the window into Code View. I would like some of my PHP pages to load in Design mode. Especially when I'm working with tables. Does anyone know how to force Dreamweaver MX to use Design Modem on files other then .html,.htm?

Thanks
Michael

Reply With Quote
  #2  
Old October 30th, 2003, 10:55 AM
r3n r3n is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 10 r3n User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Take a look at the first object in this XML file:
<DRIVE>:/Macromedia/Dreamweaver MX/Configuration/DocumentTypes/MMDocumentTypes.xml (open it with a text editor).

And add the extension (i.e. .php) to the end of where all the HTML extensions are.

Hope this helps.

Reply With Quote
  #3  
Old January 3rd, 2004, 01:19 AM
dgilroy dgilroy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Bristol, UK
Posts: 2 dgilroy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to dgilroy Send a message via Yahoo to dgilroy
Does this work in DW MX2004?

Hi,

Has anyone got this to work with DW MX 2004 as I cannot seem to make it work whatever I do.

When I tried to add SSI to the HTML section of the MMDocumentTypes.xml file, when I went to open DW I got the following error :-

The document type "HTML" will not be added because it uses a file extension that is already associated with a prior Document Type.

I get this error for a range of file types e.g HTML, Actionscript communications etc.

DW still opens, and I can still edit files etc, but I still cannot see and SSI file in Design veiw or have it colour coded.

Regs....David.

Reply With Quote
  #4  
Old January 3rd, 2004, 09:43 AM
r3n r3n is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 10 r3n User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It could be because the extension is registered to another scheam... Do a search in the MMDocumentTypes.xml and delete all existing references to that extension, apart from the one you wish to use it with.

Last edited by r3n : January 3rd, 2004 at 10:08 AM.

Reply With Quote
  #5  
Old January 3rd, 2004, 10:01 AM
dgilroy dgilroy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Bristol, UK
Posts: 2 dgilroy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to dgilroy Send a message via Yahoo to dgilroy
OK, a complete uninstall and reinstall has now given me some colour coding in XML and XSLT files, but I'm loathed to mess about with the MMDocumentTypes.xml file again for fear of causing more problems!! SSI does not appear anywhere else in that file.

I say "some colour coding" above as for example this is what happens in most of my XSL files :-

<?xml version="1.0 "?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">

So the first line is colour coded, but not the first two XSL statements.

Any ideas now?

Regs....David.

Reply With Quote
  #6  
Old January 3rd, 2004, 10:09 AM
r3n r3n is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 10 r3n User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Not too sure, how sure are you that DW fully supports the language?

Reply With Quote
  #7  
Old January 3rd, 2004, 11:14 AM
michaelrosejr michaelrosejr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 michaelrosejr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up

r3n, I forgot to thank you for posting the solution to my problem many months ago. Thanks again. I appreciate it.

Michael

Reply With Quote
  #8  
Old January 3rd, 2004, 11:16 AM
r3n r3n is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 10 r3n User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks a lot michaelrosejr, not often you find such good regard... good to see I ain't waisting my breath lol

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Forcing Design Mode/View


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT