Development Software
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementDevelopment Software

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:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old September 20th, 2007, 08:00 AM
curious07 curious07 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Location: wichita, Kansas
Posts: 31 curious07 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 31 m 31 sec
Reputation Power: 0
Dreamweaver And Bulky Code

I have read on a lot of posts that dreamweaver ads extra code to most third party softwares. (example) I planned on buying a real estate management system that is already in a custom CMS and using dreamweaver mx to edit the front side. When I mentioned this to the script creator, he said that dreamwever will add unnecessary code. One posts said that the extra unnecessary code is the reason you can not use dreamweaver with other CMS such as drupal. Is there a way to go around this problem?

Reply With Quote
  #2  
Old September 24th, 2007, 03:53 PM
:Merrick:'s Avatar
:Merrick: :Merrick: is offline
Zend Certified Engineer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Location: USA
Posts: 162 :Merrick: User rank is Sergeant Major (2000 - 5000 Reputation Level):Merrick: User rank is Sergeant Major (2000 - 5000 Reputation Level):Merrick: User rank is Sergeant Major (2000 - 5000 Reputation Level):Merrick: User rank is Sergeant Major (2000 - 5000 Reputation Level):Merrick: User rank is Sergeant Major (2000 - 5000 Reputation Level):Merrick: User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Day 4 h 10 m 23 sec
Reputation Power: 21
Issue

In certain situations, Dreamweaver MX translator code is added to the source code of a document.The issue appears after saving and re-opening the page, or opening a page edited in an external editor.

For example, the following code in a page:

Code:
<script>
<!--#include file="inc/include.inc" -->
</script>


is converted to:

Code:
<script>
<MM:BeginLock translatorClass="MM_SSI" type="ssi_comment"
 orig="%3C!--#include file=%22inc/include.inc%22 --%3E" fileRef="inc/include.inc"
 depFiles="file:///C|/MySites/asp/inc/include.inc">#993333
<MM:EndLock>
</script>



Reason

The code inserted into the page is Dreamweaver's internal translator code. This code is used to translate source code for rendering the design view. In certain circumstances Dreamweaver does not complete the translation process, and the intermediate translator code is erroneously left behind in the source code.

There are two known situations when this will occur.

  • A server side include file is called within <script> and </script> or <style> and </style> tags (see solution).


Note:This behavior occurs with both HTML include statements (as above) and ColdFusion includes (<cfinclude>).This is a known issue with Dreamweaver.

Solution

  • Include the <script> and </script> or <style> and </style> tags inside the included file.

  • Be sure the script or style code block is within or preceded by comment tags:
Code:
<script>
<!--
<!--#include file="inc/include.inc" -->
//-->
</script>

Reply With Quote
  #3  
Old September 25th, 2007, 03:41 PM
curious07 curious07 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Location: wichita, Kansas
Posts: 31 curious07 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 31 m 31 sec
Reputation Power: 0
thanks for the reply

thanks
QUOTE=:Merrick:]Issue

In certain situations, Dreamweaver MX translator code is added to the source code of a document.The issue appears after saving and re-opening the page, or opening a page edited in an external editor.

For example, the following code in a page:

Code:
<script>
<!--#include file="inc/include.inc" -->
</script>


is converted to:

Code:
<script>
<MM:BeginLock translatorClass="MM_SSI" type="ssi_comment"
 orig="%3C!--#include file=%22inc/include.inc%22 --%3E" fileRef="inc/include.inc"
 depFiles="file:///C|/MySites/asp/inc/include.inc">#993333
<MM:EndLock>
</script>



Reason

The code inserted into the page is Dreamweaver's internal translator code. This code is used to translate source code for rendering the design view. In certain circumstances Dreamweaver does not complete the translation process, and the intermediate translator code is erroneously left behind in the source code.

There are two known situations when this will occur.

  • A server side include file is called within <script> and </script> or <style> and </style> tags (see solution).


Note:This behavior occurs with both HTML include statements (as above) and ColdFusion includes (<cfinclude>).This is a known issue with Dreamweaver.

Solution

  • Include the <script> and </script> or <style> and </style> tags inside the included file.

  • Be sure the script or style code block is within or preceded by comment tags:
Code:
<script>
<!--
<!--#include file="inc/include.inc" -->
//-->
</script>
[/QUOTE]

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementDevelopment Software > Dreamweaver And Bulky Code


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 6 hosted by Hostway