HighDots Forums  

Problems with including files

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Problems with including files in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ai&p
 
Posts: n/a

Default Problems with including files - 07-11-2008 , 09:22 AM






Sorry, if such question has been already asked, but I still haven't found an
answer.
I have included some PHP code with HTML to my site however I can't see it
using Design mode. I have "server-side includes - show file" turned on. I don't
use "Dreamweaver Site".
Please, help.
Thanks

PS. Sorry, if my English isn't very good, but I'm not a native speaker.

<?
include("header.php");
?>
<!-- site -->
<?
include("footer.php");
?>


Reply With Quote
  #2  
Old   
bregent
 
Posts: n/a

Default Re: Problems with including files - 07-11-2008 , 10:00 AM






Do your included pages include html, head or body tags? If those tags are in the parent page, then they should not also be in the included page.

Reply With Quote
  #3  
Old   
ai&p
 
Posts: n/a

Default Re: Problems with including files - 07-12-2008 , 01:32 AM



Yes, my included files have tags like html, head, body etc., but there aren't such tags in the parent file

Reply With Quote
  #4  
Old   
bregent
 
Posts: n/a

Default Re: Problems with including files - 07-12-2008 , 12:10 PM



Quote:
Yes, my included files have tags like html, head, body etc., but there aren't
such tags in the parent file

What version of DW are you using? Earlier versions did not display properly in
design mode if those tags were in the included files.



Reply With Quote
  #5  
Old   
ai&p
 
Posts: n/a

Default Re: Problems with including files - 07-13-2008 , 05:46 AM



I am using Dreamweaver CS3

Reply With Quote
  #6  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Problems with including files - 07-13-2008 , 12:38 PM



Can you show us the markup in your Header and Footer files, please?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ai&p" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I am using Dreamweaver CS3


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 - 2008, Jelsoft Enterprises Ltd.