Expression Web
(1)
DOCtype
(1)
FTP
(1)
Anotherwords
(1)
Windows
(1)
Symonds
(1)
Meddelelsen
(1)
Tlgalenson
(1)
Design time includes behavior
Asked By Tom Miller
19-Nov-09 11:35 AM
I have this "design time include" that I got from Tina. Clearly I do not
understand something.
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 frominside
Tom Miller replied to Tom Miller
19-Nov-09 11:55 AM
I have now tried and as far as I can tell succeeded in publishing from
inside of EWv2 and the footer still does not 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> etc) Or does it need to be named
as a .txt file? Or what?
Thanks,
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
"Tom Miller" <tlgalenson@sbcglobal.
senn replied to Tom Miller
19-Nov-09 12:32 PM
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:
U-Include="includemenu/horizonmenu.html" --></div>
The include file has to be a complete web page, including<head><title>...
Ronx replied to Tom Miller
19-Nov-09 12:35 PM
The include file has to be a complete web page, including
included content
Only the content between (not including) and is included into
the page - the process looks for the and 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.
Design time includes only add what is between the elements in thepage
Cheryl D Wise replied to Tom Miller
19-Nov-09 03:15 PM
Design time includes only add what is between the elements in the
page included and unlike a server side include must have both &
--
Cheryl D Wise
http://by-expression.com
Here is a test page to show that you only need & http://wizerways.
Cheryl D Wise replied to Cheryl D Wise
19-Nov-09 03:43 PM
Here is a test page to show that you only need &
http://wizerways.net/test/base.html
--
Cheryl D Wise
http://by-expression.com
And, to elaborate a bit on what you have already been told, if the include
KathyW replied to Tom Miller
19-Nov-09 03:50 PM
And, to elaborate a bit on what you have already been told, if the include page
has styling, it must be in an external CSS file that the including page also
references, since only the body, not any style section inside the header, is
included.
"senn" wrote:...The tag="BODY" belongs there.
KathyW replied to senn
19-Nov-09 03:57 PM
...
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:
In View Source of the final page in a browser, with the include in it:
[here will be the actual HTML from the body of the include]
Of course, since the easiest way to create the page is EW File -> New Page,you
KathyW replied to Cheryl D Wise
19-Nov-09 05:08 PM
Of course, since the easiest way to create the page is EW File -> New Page,
you will end up with the rest anyway, with no harm done for having it.
Thank you for this information, Kathy./senn
senn replied to KathyW
20-Nov-09 12:36 AM
Thank you for this information, Kathy.
/senn