Long Node Trees Options
Hay
Posted: Friday, October 27, 2006 3:15:09 PM
Rank: Devotee

Joined: 8/2/2006
Posts: 47
Hi,

I have a site setup where i have alot of user data using documenttypes. The problem is i have node trees 300+ in length. This makes umbraco extreamly slow and its very hard to edit a as the tree keeps refreshing and hanging the editor.

Is it possble to implement a table view in the dasboard insted of showing each node on the tree?

Mike
neehouse
Posted: Friday, October 27, 2006 5:16:07 PM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,074
Location: Charleston, West Virginia, United States
It is funny that you ask this, as just yesterday, I was working on a quick-edit page. It is simply a wrapper page for the editContent page, handling all the Javascript calls.

Basically, create a HTML file with this code, and call the file passing a QueryString parameter id of the node. IE: "quickedit.html?id=1234"

Then, using a sitemap script, you could easily modify it to link to and edit your pages quickly.

Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML style="WIDTH: 100%">
    <HEAD>
        <title>umbraco</title>
        <script language="javascript" >
            function syncTree(orgPath) {}
            function umbSpeechBubble(icon, header, message) {}
            function reloadParentNode() {}
        </script>
    </HEAD>
    <body onload="right.document.location.href = '/umbraco/editContent.aspx'+document.location.search;" bgColor="#fff" leftMargin="0" topMargin="0" marginwidth="0" marginheight="0" style="PADDING-RIGHT: 0px;PADDING-LEFT: 0px;PADDING-BOTTOM: 0px;MARGIN: 0px;PADDING-TOP: 0px;HEIGHT: 100%; background: white">
        <iframe name="right" id="right" marginWidth="0" marginHeight="0" frameBorder="0" scrolling="no" style="HEIGHT: 98%; WIDTH: 98%"></iframe>
        <iframe src="keepalive.aspx" style="width:1px;height:1px;"></iframe>
    </body>
</HTML>


I was working on Kasper's psuedo front-end editing premise, and was going to create a macro that exposed the edit functionality front-side, and did a popup of this page for quick edits.

There is no alert bubble in this version, so use at own risk. The Edit HTML and Add Form fields do not currently work...

Casey

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
Hay
Posted: Sunday, October 29, 2006 12:46:53 PM
Rank: Devotee

Joined: 8/2/2006
Posts: 47
Looks good... i'll be having a play around with it... dead simple too.

neehouse
Posted: Monday, October 30, 2006 4:44:45 AM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,074
Location: Charleston, West Virginia, United States
I have a more refined version that covers most of the errors.

http://neehouse.com/umbraco/quickedit.html

You will get an error, but view source in your browser for the wrapper...

If you have problems, let me know, and I will package it up for you...


Case

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.