<umbraco:iteminfo itemId="1" name="PageText" nodeId="1051" title="Click to edit the PageText field of 'home'" onclick="umbraco.presentation.LiveEditing.ItemFunctions.prototype.click()">
<p>This is a <a href="http://www.google.com" target="_blank" title="google search">test</a>.</p>
use firefox & firebug and hit f12 to check if anything fails to load (javascripts) in the "Net" panel (disable cache and refresh the page when watching this panel)
Running it with fiddler, this is the result: #ResultProtocolHostURLBodyCachingContent-TypeProcessCommentsCustom 1302HTTPumbraco/umbraco/canvas.aspx?redir=/1051.aspx129private text/html; charset=utf-8iexplore:5760 2200HTTPumbraco/1051.aspx647private text/html; charset=utf-8iexplore:5760 3304HTTPumbraco/css/Test%20Site%20CSS.css0iexplore:5760 4200HTTPumbraco/umbraco/keepalive.aspx559private text/html; charset=utf-8iexplore:1148
so no javascript files are called and nothing fails to load.
Canvas html missing javascript for the toolbar and editing.
I have set up a fresh install of Umbraco 4.0.3 and created a simple document type and template with a single property called PageText.
When I publish it and edit in canvas mode, I get no toolbar, I can't edit and the html outputted to the browser is as follows:
<html>
<head>
<title>Eds Site</title>
<link rel="stylesheet" type="text/css" href="/css/Test Site CSS.css">
</head>
<body>
<form method="post" action="/1051.aspx?" id="aspnetForm">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUENTM4MWRkZKfQQsRXuojFUmjeQV4VjNjLjPo=" />
</div>
<umbraco:iteminfo itemId="1" name="PageText" nodeId="1051" title="Click to edit the PageText field of 'home'" onclick="umbraco.presentation.LiveEditing.ItemFunctions.prototype.click()">
<p>This is a <a href="http://www.google.com" target="_blank" title="google search">test</a>.</p>
</umbraco:iteminfo>
</form>
</body>
</html>
use firefox & firebug and hit f12 to check if anything fails to load (javascripts) in the "Net" panel (disable cache and refresh the page when watching this panel)
any 404's ?
Hi Rik,
Running it with fiddler, this is the result:
# Result Protocol Host URL Body Caching Content-Type Process Comments Custom
1 302 HTTP umbraco /umbraco/canvas.aspx?redir=/1051.aspx 129 private text/html; charset=utf-8 iexplore:5760
2 200 HTTP umbraco /1051.aspx 647 private text/html; charset=utf-8 iexplore:5760
3 304 HTTP umbraco /css/Test%20Site%20CSS.css 0 iexplore:5760
4 200 HTTP umbraco /umbraco/keepalive.aspx 559 private text/html; charset=utf-8 iexplore:1148
so no javascript files are called and nothing fails to load.
Running with firebug (lots of detail sorry):
GET canvas.aspx?redir=/1051.aspx
http://umbraco/umbraco/canvas.aspx?redir=/1051.aspx
302 Found
umbraco
129 B
23ms
ParamsHeadersPostPutResponseCacheHTML
Response Headersview source
Date Fri, 29 Jan 2010 10:33:12 GMT
Server Microsoft-IIS/6.0
X-Powered-By ASP.NET
X-AspNet-Version 2.0.50727
Location /1051.aspx
Cache-Control private
Content-Type text/html; charset=utf-8
Content-Length 129
Request Headersview source
Host umbraco
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-gb,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Referer http://umbraco/umbraco/umbraco.aspx
Cookie UserContext=7ea871cc-9df5-4fea-81da-d9fcb12e0be5; ASP.NET_SessionId=rctjgdq33vmcvw5555trjc3p
GET 1051.aspx
http://umbraco/1051.aspx
200 OK
umbraco
572 B
44ms
ParamsHeadersPostPutResponseCacheHTML
Response Headersview source
Cache-Control private
Content-Length 572
Content-Type text/html; charset=utf-8
Server Microsoft-IIS/6.0
X-Powered-By ASP.NET
Date Fri, 29 Jan 2010 10:33:12 GMT
Request Headersview source
Host umbraco
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-gb,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Referer http://umbraco/umbraco/umbraco.aspx
Cookie UserContext=7ea871cc-9df5-4fea-81da-d9fcb12e0be5; ASP.NET_SessionId=rctjgdq33vmcvw5555trjc3p
Any help is much appreciated.
Cheers,
Ed
Bump....
Please help me someone :(
Check that you are inheriting from the Umbraco master page at the top level as this puts the required functionality into the canvas page.
(also replied to your other post elsewhere...)
S
is working on a reply...