HighDots Forums  

ASP Includes

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss ASP Includes in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
danbrown
 
Posts: n/a

Default ASP Includes - 07-07-2004 , 05:49 AM






Hi,

I am having issues with Dreamweaver changing my include code on pages when I
open them. I have specified it not update links at all when moving files (this
i suspect just looks at href's though)/.

If I open one of my pages in notepad and check the include it says...

<!-- #include file="inc/checkCookies.asp" -->

But when I open the same file in Dreamweaver it changes this text to....

<!-- #include file=%22inc/checkCookies.asp%22 --%3E"
fileRef="inc/checkCookies.asp"
depFiles="file:///C|/Sandbox/Intranet/inc/checkCookies.asp">

Is there a way to just stop it modifying files at all when opening them?

Cheers,
Dan



Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: ASP Includes - 07-07-2004 , 08:45 AM






Which DW version?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"danbrown" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi,

I am having issues with Dreamweaver changing my include code on pages
when I
open them. I have specified it not update links at all when moving files
(this
i suspect just looks at href's though)/.

If I open one of my pages in notepad and check the include it says...

!-- #include file="inc/checkCookies.asp" --

But when I open the same file in Dreamweaver it changes this text to....

!-- #include file=%22inc/checkCookies.asp%22 --%3E"
fileRef="inc/checkCookies.asp"
depFiles="file:///C|/Sandbox/Intranet/inc/checkCookies.asp"

Is there a way to just stop it modifying files at all when opening them?

Cheers,
Dan





Reply With Quote
  #3  
Old   
danbrown
 
Posts: n/a

Default Re: ASP Includes - 07-07-2004 , 09:16 AM



Sorry,

Dreamweaver MX 2004 (7.0.1)

Thanks,

Dan

Reply With Quote
  #4  
Old   
D. Shane Fowlkes
 
Posts: n/a

Default Re: ASP Includes - 07-07-2004 , 09:25 AM



That's a drag. Have you tried recreating the site's cache to see if that
fixes it? Just a shot in the dark but that fixes a lot of quirks for me
quite often.


"danbrown" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi,

I am having issues with Dreamweaver changing my include code on pages
when I
open them. I have specified it not update links at all when moving files
(this
i suspect just looks at href's though)/.

If I open one of my pages in notepad and check the include it says...

!-- #include file="inc/checkCookies.asp" --

But when I open the same file in Dreamweaver it changes this text to....

!-- #include file=%22inc/checkCookies.asp%22 --%3E"
fileRef="inc/checkCookies.asp"
depFiles="file:///C|/Sandbox/Intranet/inc/checkCookies.asp"

Is there a way to just stop it modifying files at all when opening them?

Cheers,
Dan





Reply With Quote
  #5  
Old   
danbrown
 
Posts: n/a

Default Re: ASP Includes - 07-07-2004 , 09:45 AM



Thanks for the response. The file isn't associated with a site, I wanted to
just open it and dreamweaver actually show me the code thats in the file
without adjusting it first.

I will try building a site though and seeing if it handles the includes better
then.

Cheers,

Dan


Reply With Quote
  #6  
Old   
D. Shane Fowlkes
 
Posts: n/a

Default Re: ASP Includes - 07-07-2004 , 09:55 AM



That could be your problem.



"danbrown" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thanks for the response. The file isn't associated with a site, I wanted
to
just open it and dreamweaver actually show me the code thats in the file
without adjusting it first.

I will try building a site though and seeing if it handles the includes
better
then.

Cheers,

Dan




Reply With Quote
  #7  
Old   
SteveB
 
Posts: n/a

Default Re: ASP Includes - 07-08-2004 , 05:46 AM



Use <!-- #include virtual="inc/checkCookies.asp" -->


On Wed, 7 Jul 2004 09:49:08 +0000 (UTC), "danbrown"
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
Hi,

I am having issues with Dreamweaver changing my include code on pages when I
open them. I have specified it not update links at all when moving files (this
i suspect just looks at href's though)/.

If I open one of my pages in notepad and check the include it says...

!-- #include file="inc/checkCookies.asp" --

But when I open the same file in Dreamweaver it changes this text to....

!-- #include file=%22inc/checkCookies.asp%22 --%3E"
fileRef="inc/checkCookies.asp"
depFiles="file:///C|/Sandbox/Intranet/inc/checkCookies.asp"

Is there a way to just stop it modifying files at all when opening them?

Cheers,
Dan



Reply With Quote
Reply




Thread Tools
Display Modes

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



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