Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

EW quirk? Is there a simpler solution?

0 views
Skip to first unread message

Templar

unread,
Nov 10, 2009, 10:29:48 PM11/10/09
to
The people at ProvideSupport.com provide a code to install their "Chat
Session" button which visitors can click in order to start a chat session
about a product at any given website. My problem has been that, after
installing the code in my EW dwt.........the icon does not appear. I've
spent several hours with the people at ProvideSupport.com and their
assistance finally culminated in the following email from one of their
support staff. It is hard for me to believe that this is the only solution.
Therefore, I am hoping some master EW user might provide a more realistic
solution to the problem. The tech support email is as follows:

This message is regarding adding chat button code to your website using
Expression Web and DWT.

I've downloaded and installed trial version of Expression Web 3.0 and tried
to create DWT and attach it to a HTML page. As you've said,Expression Web
doesn't display the chat button added to DWT neither in the DWT Design mode,
no in the HTML page Design mode. But when I saved the HTML page and opened it
in IE8 the chat button was displayed properly. It was displayed properly in
Firefox, Chrome and Opera also.

So it seems that the issue is related to the Expression Web editor, most
probably it doesn't execute scripts in the Design mode and our chat button is
displayed by a script. But actually the source code of the page is OK and the
chat button is visible in browsers.

Please try to do the following:

1. Create a new DWT, open it in Code mode and add the Graphics Chat Button
Code between the following tags
<!-- #BeginEditable "body" --><div>Graphics Chat Button Code goes here
</div><!-- #EndEditable -->

2. Save the DWT

3. Create a new HTML page, attach the DWT to it, save the page

4. In the Folders List at the left of the Expression Web window right
click the HTML file and choose Open -> Internet Explorer (or any other
browser you wish to test)

5. Internet Explorer usually blocks scripts execution in local files, so if
you choose IE on the step 4 you would need to right click on the green bar at
the top of the browser window and choose Allow Blocked Content.

If you can see the chat button in the browser, then everything is Ok and you
could add the chat button to your website in the same way.

Please let me know if you succeed with adding the chat button. Please also
contact us in our support chat if you have any other questions about the
system.

Thank you,

--
Templar

Ronx

unread,
Nov 11, 2009, 2:16:17 AM11/11/09
to
Step 3 - if the chat button goes on every page, there is no need for the
<!-- #BeginEditable "body" --><div>Graphics Chat Button Code goes here
</div><!-- #EndEditable -->
Use <div>Graphics Chat Button Code goes here</div> instead.

Additionally, if you use the editable region, any updates to that region
will NOT propagate to any attached pages. - the chat code will have to be
added to each page individually.

Steps 4 and 5 can be replaced in EW3 by using Preview in Browser, provided
the page has .htm, .html, .php or .aspx extensions, and preview is set to
use the development server.

Design view will not show any scripting or the effects of any scripting.
Design view is NOT a browser.
In EW3, snapshot or SuperPreview may show the chatbutton, but again the
development server will have to be used.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.

"Templar" <Tem...@discussions.microsoft.com> wrote in message
news:E7EB6246-FFA5-4676...@microsoft.com...

Templar

unread,
Nov 11, 2009, 6:47:07 AM11/11/09
to
Below is the latest response from a member of their support team. They
successfully make one of the points that you have made. However, it does not
address the question as to why it will not propogate to all of the other
pages as do other additions to NON-EDITABLE REGIONS. I see it when I put it
inside a <div> as you suggest, but it refuses to propogate. Here is the
latest comments from one of the support staff:
There is no problem to resolve actually. I'd say that the most of
website editing systems work in this way - they don't execute scripts in
the Design mode. Executing scripts in the Design mode can cause
difficulties with editing the page.

You could try to add any other javascript to your DWT or HTML page and
you'll see that they are not executed either. They are executed only
when the page is opened in a browser.

If you wish to see the chat button in the Design mode, you could use the
No-Script Chat Button Code - it doesn't contain scripts and thus
executed on fly in the Design mode. And you could add the Hidden Code
for Visitor Monitoring to the page to enable real-time monitoring of the
page. This code doesn't display anything, it just performs the web page
monitoring when you open the page in a browser. But this solution is not
very good as it reduces our system functionality - visitors calling to
your chat won't be highlighted in the Visitors list, you would need to
find them manually.

I'd say that there is no reason to find workarounds for absolutely
normal situation when everything works as it should work.

Please let me know if you have any other questions or need any
additional assistance.

--
Templar


"Ronx" wrote:

> .
>

Ronx

unread,
Nov 11, 2009, 7:06:05 AM11/11/09
to
I have no idea why the code does not propogate if it is not in an editable
region. Can you provide a link to page with the code? I intend to add it to
my own DWT and see what happens. If there is any account information in the
code then disguise it as you see fit.

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.

"Templar" <Tem...@discussions.microsoft.com> wrote in message

news:4E4FC893-C832-46E1...@microsoft.com...

Templar

unread,
Nov 11, 2009, 8:59:01 AM11/11/09
to
Thanks Ronx. I'll get back to you on this later this morning. In the mean
time, I received another "advisory" from someone on their support staff.
Here it is:

you could actually add the chat button code to the non-editable
part of the DWT and it will be propagated to all attached HTML pages.
I've just tried this myself and it worked well.

You'd only need to open the DWT in Code mode and insert the chat button
code within the BODY part of the DWT but before of after its editable
part. Below is the example of how it looks in the new DWT:

<body>
Chat button code goes here


<!-- #BeginEditable "body" -->
<div>

</div>
<!-- #EndEditable -->
</body>

After saving the DWT all changes made to tis non-editable part will be
propagated to attached pages.


--
Templar


"Ronx" wrote:

> .
>

Templar

unread,
Nov 11, 2009, 9:17:03 AM11/11/09
to
Ronx: Regarding your request for a link to the page. If you mean the dwt, I
don't publish the dwt but only the "promulgated" pages. You can visit the
website at www.TheJoeCockerFoundation.org. The html home page is,
essentially the dwt page. If you need the actual code on the dwt page, I can
copy that for you and email it to you.

I just received yet another email from their support staff indicating that
it does not seem to make any sense to them that I cannot successfully insert
their code in the dwt code and have it work and promulgate properly.

Thanks
--
Templar


"Ronx" wrote:

> .
>

KathyW

unread,
Nov 11, 2009, 9:27:02 AM11/11/09
to
Publish the DWT. If the script isn't in the page, looking at the page won't
help.

I strongly suspect your script is simply in an editable region, not a
noneditable region, and that if you move it to a non-editable region, it
will, of course, propagate.

But publish the DWT so we can look at it if the above isn't the solution for
you.

Templar

unread,
Nov 11, 2009, 10:29:02 AM11/11/09
to
Thanks. I'll get back to you.
--
Templar

Ronx

unread,
Nov 11, 2009, 10:11:58 AM11/11/09
to
I agree with the support staff - if the code is in a non-editable region it
will propogate.

There are only four conditions where that will not happen:

1) The internal linking between DWT and attached pages is broken - if this
is the case then NO changes will propagate, but you said they do.

2) You are editing on the live server using FTP - but then discussion about
publishing or not publishing the DWT is moot, the DWT is on the server.

3) As for 2) but using FrontPage extensions instead of FTP, and the
extensions are not up to date or are on a Unix server.

4) You are editing the DWT with either no web site open, or with a program
other than FrontPage 2003 or Expression Web


If you send me the code, I will probably get the same results as the
support staff - propagation to all attached pages. You can send to my
hotmail address ronx917 at hotmail dot com


Your home page needs attention:

There is a style block tucked inside the navigation before the closing
/ul> - style blocks (<style type="text/css">......</style>) should always
be in the <head> of the page, or in an external style sheet.

The page footer is after the </body> tag. The only item that follows the
</body> tag is normally the </html> tag. The footer should definitely
before </body>.


--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.

"Templar" <Tem...@discussions.microsoft.com> wrote in message

news:8CF4225E-82C6-4F74...@microsoft.com...

Templar

unread,
Nov 11, 2009, 11:01:04 AM11/11/09
to
OK. I have published the dtw. I included their code in a "div" right below
"Begin Navigation" and before "default html"
--
Templar

KathyW

unread,
Nov 11, 2009, 12:11:02 PM11/11/09
to
Where did you publish the DWT? I can't find it.

KathyW

unread,
Nov 11, 2009, 12:13:01 PM11/11/09
to
Adding: FYI, many of your links are broken, referencing directories/files
that are not there.

Templar

unread,
Nov 11, 2009, 6:38:01 PM11/11/09
to
If these are the only four possibilities, it has to be number 1. Any
solutions? Any way to repair this?
--
Templar


"Ronx" wrote:

> .
>

Tina Clarke

unread,
Nov 12, 2009, 1:08:33 AM11/12/09
to
http://www.thejoecockerfoundation.org/JoeCockerAlert/master.dwt

from your link your dwt would expect to be in the above location but its not
....

can you again upload it and then check that its there and the paste the link
from the browser into a post?

I would make a back up of your site before doing any playing around with the
dwt....

how many pages do you have on your site? How many does the dwt report its
updated when you make save of the dwt?

are you working on your hard drive and then ftping or publishing (http) to
the server?

Tina

Migrating from FrontPage to Expression Web Ebook v2.0
New version includes help for EW 3.0
Find out how to transition from fp to ew with ease
http://www.frontpage-to-expression.com/ebook.html

Templar

unread,
Nov 13, 2009, 3:21:04 PM11/13/09
to
I have published the dwt. Sorry for the confusion.
--
Templar


"Tina Clarke" wrote:

> http://www.thejoecockerfoundation.org/JoeCockerAlert/master.dwt
>
> from your link your dwt would expect to be in the above location but its not

> .....


>
> can you again upload it and then check that its there and the paste the link
> from the browser into a post?
>
> I would make a back up of your site before doing any playing around with the
> dwt....
>
> how many pages do you have on your site? How many does the dwt report its
> updated when you make save of the dwt?
>
> are you working on your hard drive and then ftping or publishing (http) to
> the server?
>
> Tina
>
> Migrating from FrontPage to Expression Web Ebook v2.0
> New version includes help for EW 3.0
> Find out how to transition from fp to ew with ease
> http://www.frontpage-to-expression.com/ebook.html
>

> .
>

Templar

unread,
Nov 13, 2009, 3:30:16 PM11/13/09
to

I have published it, but I can't get into it on the internet.

I believe a message comes up simply sayiong update complete.

I work on my hard drive and publish to an FTP Server.

Templar


"Tina Clarke" wrote:

> http://www.thejoecockerfoundation.org/JoeCockerAlert/master.dwt
>
> from your link your dwt would expect to be in the above location but its not

> .....


>
> can you again upload it and then check that its there and the paste the link
> from the browser into a post?
>
> I would make a back up of your site before doing any playing around with the
> dwt....
>
> how many pages do you have on your site? How many does the dwt report its
> updated when you make save of the dwt?
>
> are you working on your hard drive and then ftping or publishing (http) to
> the server?
>
> Tina
>
> Migrating from FrontPage to Expression Web Ebook v2.0
> New version includes help for EW 3.0
> Find out how to transition from fp to ew with ease
> http://www.frontpage-to-expression.com/ebook.html
>

> .
>

KathyW

unread,
Nov 13, 2009, 6:16:01 PM11/13/09
to
The fact that you can't get to it on the internet means it wasn't published.
Try again, and tell us (specifically) where you published it. Content that
should be in a directory called JoeCockerAlert, which includes the DWT and
the JoeCockerAlerts.htm page, are simply not there. Verify your directory
structure, and either explicitly publish the missing pages, or correct the
links.

Templar

unread,
Nov 13, 2009, 7:25:01 PM11/13/09
to
OK.........but the right side of my publish screen contains the dwt as I
published it separately to save time. Maybe I need to publish the entire
site. From a reading of one of Ronx's responses, he was able to access it
on-line. He seems to have examined it and gave me some advise regarding
couple of problems he saw in the code. I'll republish it asap.......we have
guests right now and I might not get to it until morning. Thanks for your
help.
--
Templar

Tina Clarke

unread,
Nov 14, 2009, 8:58:32 AM11/14/09
to
Can you give us the exact url of the dwt on the server please

Tina

Templar" <Tem...@discussions.microsoft.com> wrote in message

news:87F53ABA-CC49-4139...@microsoft.com...

Templar

unread,
Nov 14, 2009, 10:34:01 AM11/14/09
to
I've republished the website three times now including the dwt folder. the
name of the dwt folder is master.dwt

I try but fail getting into it from the address line on my browser page. I
don't know what to tell you. I assume the address is
.......thejoecockerfoundation.org/master.dwt
--
Templar


"Tina Clarke" wrote:

> .
>

Tina Clarke

unread,
Nov 14, 2009, 11:16:02 AM11/14/09
to

If you are publishing it ... then you know where it is simply by looking at
your folder list

you should see the root

and under that if that is where you have it should be a file called
master.dwt

are you sure it is not in a folder?

when you publish from your hd to the server the hd should be on the LEFT
pane and the server should be in the RIGHT pane....

can you see under the root in the right pane a file called master.dwt ?

are you sure you are publishing to the correct domain... check your remote
website properties

and how can it be in the root when your homepage says

<!-- #BeginTemplate "JoeCockerAlert/master.dwt" -->

that file says it is in the folder JoeCockerAlert .....

so make sure you publish THAT folder with the dwt in it

you need the EXACT path .... look at the top of expression web it should
give you the path .... in fact open the dwt on your hd and tell us the path
... we can extropolate that for the server .... but first publish the folder
with the master.dwt file thats in it .....cos thats not on the server.


Tina


--

Migrating from FrontPage to Expression Web Ebook v2.0
New version includes help for EW 3.0
Find out how to transition from fp to ew with ease
http://www.frontpage-to-expression.com/ebook.html

"Templar" <Tem...@discussions.microsoft.com> wrote in message
news:D35FFCAD-C904-4E51...@microsoft.com...

Templar

unread,
Nov 14, 2009, 12:27:01 PM11/14/09
to
Yes, I publish from the hard drive and yes, I do see the master.dwt on both
the right and left side of the publishing screen. What may have been causing
problems is the fact that I created a package that gave a third party access
to the JoeCockerAlert page and she now can access that page in her EW program
to keep it updated. I noticed that that "package" transformed into a website
and appeared on the local (left hand side) of the publishing screen. I have
deleted that website.

As an aside, it appears that I did not include all of the necessary pages in
the "package" I sent her because the page does not come up in the dwt I
included in the package. Furthermore, that page will no longer publish for
me as you can see by clicking on the ALERT link.

But, back to our current problem, I have removed that mini-website from the
.org
website list. I republished and note that when I publish, I am publishing
from the http website created on the hard drive in EW and publishing to an
FTP server.

I hope removal of the mini-website solves this problem.
--
Templar


"Tina Clarke" wrote:

>
> If you are publishing it ... then you know where it is simply by looking at
> your folder list
>
> you should see the root
>
> and under that if that is where you have it should be a file called
> master.dwt
>
> are you sure it is not in a folder?
>
> when you publish from your hd to the server the hd should be on the LEFT
> pane and the server should be in the RIGHT pane....
>
> can you see under the root in the right pane a file called master.dwt ?
>
> are you sure you are publishing to the correct domain... check your remote
> website properties
>
> and how can it be in the root when your homepage says
>
> <!-- #BeginTemplate "JoeCockerAlert/master.dwt" -->
>
> that file says it is in the folder JoeCockerAlert .....
>
> so make sure you publish THAT folder with the dwt in it
>
> you need the EXACT path .... look at the top of expression web it should
> give you the path .... in fact open the dwt on your hd and tell us the path

> .... we can extropolate that for the server .... but first publish the folder

> .
>

Tina Clarke

unread,
Nov 14, 2009, 9:49:56 PM11/14/09
to
Ok.... the named .dwt on your homepage is

<!-- #BeginTemplate "JoeCockerAlert/master.dwt" -->

so even if there was a .dwt called master.dwt under the root ... it would
have nothing to do with your homepage because the referring .dwt resided in
the JoeCockerAlert folder ON the homepage.... because that's the path it
says...

the original problem was that you opened the master.dwt directly under the
root made changes and nothing changed right?

is this site very large? I could look on the server for you and publish to
my hd... and look at it there... from the menu its just a few pages...

btw http://www.thejoecockerfoundation.org/JoeCockerAlert/JoeCockerAlerts.htm
this link on the menu is pointing to the wrong folder..if you pull back the
url and remove the folder the page shows up....so just the link is
incorrect.

On the server the dwt will work weather its on there or not .... and I
presume the folder is still on your website so you see it working there...

I would do this ... rename the master.dwt in the root to masterx.dwt ....

then I would (if you want to keep it intact - publish the folder to a site
of its own to back it up .. or just the whole site to keep things simple)
...then drag the master.dwt in the JoeCockerAlert folder to the root of your
site - do this via the folder list - THIS IS ON THE HD ... btw... that
will repoint everything in the root of your site.... then make a change to
the dwt that you can recognise.... and see if its coming up in the attached
pages in the root.... when your happy with it .. .publish to the server....
including the .dwt in the publish.... that should fix things...

don't forget make a backup FIRST.

Tina

--
http://www.expression-web.net - Expression Blog
http://any-expression.com/ - Expression Web Help
http://tech.groups.yahoo.com/group/any-expression/ - Expression Web Ezine


"Templar" <Tem...@discussions.microsoft.com> wrote in message

news:C024B10F-72F5-477D...@microsoft.com...

Tina Clarke

unread,
Nov 20, 2009, 5:36:33 PM11/20/09
to
so did the below work?

Tina

"Tina Clarke" <TinaC...@any-expression.com> wrote in message
news:uk2GZ5ZZ...@TK2MSFTNGP06.phx.gbl...

0 new messages