<!--webbot bot="Include" u-include="footer.htm" tag="BODY" -->
This correctly displays in the design panel of EWv2. But it doesnot not
display if I try to preveiw in my browser. Nor does it display if I simply
copy my files upto the website.
I have a sneaking suspicion that for this to work, you have to "publish" via
EW who then processes each include into the actual page before sending it up
to the website. Is this right?
Tom
--
Who me? What signature?
I manage design and acquistion of data-driven websites at:
http://BlueCollar.ChatNFiles.com
Linkedin Profile: http://www.linkedin.com/in/tlgalenson
www.ChatNFiles.com has telnet chatting and more than 500,000 downloads
I have now tried and as far as I can tell succeeded in publishing from
inside of EWv2 and the footer still doesn't display. Ok, what am I doing
wrong?
Does the foot page need to be a full-blown stand alone html page?
(Anotherwords with a DOCtype, <hml><body> etc) Or does it need to be named
as a .txt file? Or what?
Thanks,
Yes, even having a doctype. Think you should move off this tag="BODY"
I never seen this kind of webbot having a tag.
You should also wrap it in a div having a style in it, as to have a better
control of where to place it on the page. For example as:
<div id="webbotdiv"><!--webbot bot="Include"
U-Include="includemenu/horizonmenu.html" --></div>
<html>
<head>
<title>...</title>
</head>
<body>
included content
</body>
</html>
Only the content between (not including) <body> and </body> is included into
the page - the process looks for the <body> and </body> tags to define the
content that is included into pages. The include file must be named with
htm or html extension. The page(s) it is included into can have any
extension (htm, asp, aspx, etc).
The include process is completed when the parent page is saved - so the
complete page is on your PC and can be viewed in a browser immediately
(assuming no server side scripting), and can be uploaded by FTP, HTML
publishing or copying with Windows Explorer (that requires the server is on
a LAN).
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp
Reply only to group - emails will be deleted unread.
"Tom Miller" <tlgal...@sbcglobal.net> wrote in message
news:NLeNm.20881$gi1....@newsfe19.iad...
--
Cheryl D Wise
http://by-expression.com
"Tom Miller" <tlgal...@sbcglobal.net> wrote in message
news:NLeNm.20881$gi1....@newsfe19.iad...
--
Cheryl D Wise
http://by-expression.com
"Cheryl D Wise" <wise...@newsgroup.nospam> wrote in message
news:u3df5UVa...@TK2MSFTNGP04.phx.gbl...
"Tom Miller" wrote:
> .
>
"senn" wrote:
...
> Think you should move off this tag="BODY"
> I never seen this kind of webbot having a tag.
The tag="BODY" belongs there.
It is what is displayed in the including page in Code View, and is in the
actual source that gets published for the page.
Example: In Code View:
<!--webbot bot="Include" U-Include="cal_menu.htm" TAG="BODY" -->
In View Source of the final page in a browser, with the include in it:
<!--webbot bot="Include" U-Include="cal_menu.htm" TAG="BODY" startspan -->
[here will be the actual HTML from the body of the include]
<!--webbot bot="Include" i-checksum="3785" endspan -->
"Cheryl D Wise" wrote:
> .
>
Thank you for this information, Kathy.
/senn