Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi..
I have a big problem...
I have made a nye leaf for my custom made AppTree...
Load fil is made:
using System;
using System.Collections.Generic;
using System.Web;
using umbraco.cms.presentation.Trees;
using umbraco.DataLayer;
using umbraco.BusinessLogic;
namespace SB_kartotek
{
public class loadBilledeAdm: BaseTree
public loadBilledeAdm(string application) :
base(application) { }
protected override void CreateRootNode(ref XmlTreeNode rootNode)
rootNode.Icon = FolderIcon;
rootNode.OpenIcon = FolderIconOpen;
rootNode.NodeType = TreeAlias;
rootNode.NodeID = "init";
}
public override void RenderJS(ref System.Text.StringBuilder Javascript)
Javascript.Append(@"
function openAdmBillede()
parent.right.document.location.href = 'plugins/administrationBillede.aspx';
");
public override void Render(ref XmlTree tree)
XmlTreeNode xNode = XmlTreeNode.Create(this);
xNode.Text = "Billede Adm";
xNode.Icon = "barn.gif";
xNode.Action = "javascript:openAdmBillede()";
tree.Add(xNode);
The entry into database is madeed:
But its not shown in my administraion tool:
What can be my problem ??
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
A leaf is missing in my custom made AppTree
Hi..
I have a big problem...
I have made a nye leaf for my custom made AppTree...
Load fil is made:
using System;
using System.Collections.Generic;
using System.Web;
using umbraco.cms.presentation.Trees;
using umbraco.DataLayer;
using umbraco.BusinessLogic;
namespace SB_kartotek
{
public class loadBilledeAdm: BaseTree
{
public loadBilledeAdm(string application) :
base(application) { }
protected override void CreateRootNode(ref XmlTreeNode rootNode)
{
rootNode.Icon = FolderIcon;
rootNode.OpenIcon = FolderIconOpen;
rootNode.NodeType = TreeAlias;
rootNode.NodeID = "init";
}
public override void RenderJS(ref System.Text.StringBuilder Javascript)
{
Javascript.Append(@"
function openAdmBillede()
{
parent.right.document.location.href = 'plugins/administrationBillede.aspx';
}
");
}
public override void Render(ref XmlTree tree)
{
XmlTreeNode xNode = XmlTreeNode.Create(this);
xNode.Text = "Billede Adm";
xNode.Icon = "barn.gif";
xNode.Action = "javascript:openAdmBillede()";
tree.Add(xNode);
}
}
}
The entry into database is madeed:
But its not shown in my administraion tool:
What can be my problem ??
is working on a reply...