Error in Design View.


i'm building website called hesedbooks.com, website our online bookselling business.

i had made post on forum whether or not possible set wordpress blog, bar on left being it's own page, wouldn't have edit 80+ pages every time needed sidebar change.

here's we're looking left section of front page like:

http://hesedbooks.com/images/leftexample.jpg

someone helped me out telling me .php includes, , gave me snippet of code:

<?php include('pagename.php'); ?>

well, put in, , works flawlessly when it's published web, make design screen impossible use when editing pages locally.

here's does. goes (without code):
(and i'm aware of blank spaces. placeholders .php includes.)
http://hesedbooks.com/images/codehelp01.jpg

to this:
(that's nav page.)

http://hesedbooks.com/images/codehelp01.jpg

it removes .php include down, , turns cursor "no" symbol (circle line diagonally through it.)

i'm @ loss. possible thing can think of, page created xhtml/html page in dreamweaver, re-saved .php page.

any help?



> header.php

is header.php complete html document it's own <head> , <body> tags?
if yes- that's probem.

included files should contain correct html
used in main file. in code view- strip body tag , top of
file, , closing body , html tags @ end of file.
if there javascript functions in head section need
included head of main doc.

--
alan
adobe community expert, dreamweaver

http://www.adobe.com/communities/experts/





More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62