<?xml version="1.0" encoding="utf-8" ?><?xml-stylesheet type="text/xsl" href="rss.xsl" media="screen"?><rss version="2.0">	<channel>		<title>Umbraco Forum</title>		<link>http://forum.umbraco.org</link>		<description>The community forum for the umbraco cms</description>		<copyright>Copyright 2002 - 2008 umbraco community</copyright>		<item>			<title>Installing a website wizard.</title>			<link>http://forum.umbraco.org/default.aspx?g=posts&amp;t=6540</link>			<description><![CDATA[Hi sadara,
 I'm assuming you are trying to run a new umbraco site. Did you go through the installation or you can't browse the site at all!?
If that's the problem and you're experiencing it on your local machine you probably need the Cassini Web Server, otherwise you won't be able to browse the site.

Hope this'll help]]></description>			<pubDate>03.15.2010</pubDate>		</item>		<item>			<title>Link to external page on menu</title>			<link>http://forum.umbraco.org/default.aspx?g=posts&amp;t=4844</link>			<description><![CDATA[[quote=drobar]Keep following Dirk's advice... he'll have you going in no time!

I would clarify one minor point, though. You don't have to have your document type properties on a tab named "Data". You can name your tabs whatever you like. The "./data [@alias='...']" xpath gets the document type property with the specified alias. All properties that you add to a document type will appear in the "/data" section of the xml; it isn't related to the tab name at all. in fact, the tab name doesn't appear in the xml so you can move properties between tabs as you like and your macros will continue to work.

cheers,
doug.[/quote]


Hello Doug,

I just would like to do the opposite: I would like to find out the tab name of a given <data> tag.
I would like to create a rendering, which will enlist all the properties defined under a given tab, with this leaving the door open to dynamically display newer-and-newer data properties without xlst changes, when my users are appending new properties to the predefined ones.

Doing so, the next natural requirement is to find out the data type of the given property, while putting it out during the rendering. For example, date properties should be formatted before the rendering.

Is there any way, to get the document type, or anything helpful to solve the above problems?



Thank you very much,
Arpicheck
]]></description>			<pubDate>02.25.2010</pubDate>		</item>		<item>			<title>insert/edit link not working in rich text editor</title>			<link>http://forum.umbraco.org/default.aspx?g=posts&amp;t=9716</link>			<description><![CDATA[Ya man! thanks for  the tip. It worked for me. I am not facing any more issue now.
==================
[url=http://www.deepverse.net]Text Link Forum[/url]]]></description>			<pubDate>01.13.2010</pubDate>		</item>		<item>			<title>Hostnames and niceurl</title>			<link>http://forum.umbraco.org/default.aspx?g=posts&amp;t=8346</link>			<description><![CDATA[You could solve this using JavaScript and custom stylesheet classes.

I assume you have two separate Web sites (Site A & Site B) in one umbraco installation. Each site exists within separate nodes just below the content node. 

You will have to setup a custom Stylesheet. Give your new class a proper name and set the 'Alias' to '.hyperlink_siteB'.
Now in your content (page in Site A), apply the style to the hyperlink you want to point to Site B.

Now in your masterpage add the JavaScript block displayed below:

[code]	<script type="text/javascript">
		function addLoadEvent(func) { 
			var oldonload = window.onload; 
			if (typeof window.onload != 'function') { 
				window.onload = func; 
			} 
			else 
			{ 
				window.onload = function() 
				{ 
					if (oldonload) 
					{ 
						oldonload(); 
					} 
					func(); 
				} 
			} 
		} 

		addLoadEvent(function() 
		{ 
			try
			{
				var elements = getElementsByClassName("hyperlink_siteB");
				for (var i = 0; i < elements.length; i++)
				{
					var hyperlink = elements[i];
					hyperlink.href = hyperlink.href.replace("http://www.siteA.com", "http://www.siteB.com");
				}
			}
			catch (ex){ }
		});
		
		/*
			Developed by Robert Nyman, http://www.robertnyman.com
			Code/licensing: http://code.google.com/p/getelementsbyclassname/
		*/
		var getElementsByClassName = function (className, tag, elm){
			if (document.getElementsByClassName) {
				getElementsByClassName = function (className, tag, elm) {
					elm = elm || document;
					var elements = elm.getElementsByClassName(className),
						nodeName = (tag)? new RegExp("\\b" + tag + "\\b", "i") : null,
						returnElements = [],
						current;
					for(var i=0, il=elements.length; i<il; i+=1){
						current = elements[i];
						if(!nodeName || nodeName.test(current.nodeName)) {
							returnElements.push(current);
						}
					}
					return returnElements;
				};
			}
			else if (document.evaluate) {
				getElementsByClassName = function (className, tag, elm) {
					tag = tag || "*";
					elm = elm || document;
					var classes = className.split(" "),
						classesToCheck = "",
						xhtmlNamespace = "http://www.w3.org/1999/xhtml",
						namespaceResolver = (document.documentElement.namespaceURI === xhtmlNamespace)? xhtmlNamespace : null,
						returnElements = [],
						elements,
						node;
					for(var j=0, jl=classes.length; j<jl; j+=1){
						classesToCheck += "[contains(concat(' ', @class, ' '), ' " + classes[j] + " ')]";
					}
					try	{
						elements = document.evaluate(".//" + tag + classesToCheck, elm, namespaceResolver, 0, null);
					}
					catch (e) {
						elements = document.evaluate(".//" + tag + classesToCheck, elm, null, 0, null);
					}
					while ((node = elements.iterateNext())) {
						returnElements.push(node);
					}
					return returnElements;
				};
			}
			else {
				getElementsByClassName = function (className, tag, elm) {
					tag = tag || "*";
					elm = elm || document;
					var classes = className.split(" "),
						classesToCheck = [],
						elements = (tag === "*" && elm.all)? elm.all : elm.getElementsByTagName(tag),
						current,
						returnElements = [],
						match;
					for(var k=0, kl=classes.length; k<kl; k+=1){
						classesToCheck.push(new RegExp("(^|\\s)" + classes[k] + "(\\s|$)"));
					}
					for(var l=0, ll=elements.length; l<ll; l+=1){
						current = elements[l];
						match = false;
						for(var m=0, ml=classesToCheck.length; m<ml; m+=1){
							match = classesToCheck[m].test(current.className);
							if (!match) {
								break;
							}
						}
						if (match) {
							returnElements.push(current);
						}
					}
					return returnElements;
				};
			}
			return getElementsByClassName(className, tag, elm);
		};	
	</script>[/code]
]]></description>			<pubDate>12.09.2009</pubDate>		</item>		<item>			<title>Hostnames -- Am I doing this right? </title>			<link>http://forum.umbraco.org/default.aspx?g=posts&amp;t=6023</link>			<description><![CDATA[You could solve this using JavaScript and custom stylesheet classes.

I assume you have two separate Web sites (Site A & Site B) in one umbraco installation. Each site exists within separate nodes just below the content node. 

You will have to setup a custom Stylesheet. Give your new class a proper name and set the 'Alias' to '.hyperlink_siteB'.
Now in your content (page in Site A), apply the style to the hyperlink you want to point to Site B.

Now in your masterpage add the JavaScript block displayed below:

[code]	<script type="text/javascript">
		function addLoadEvent(func) { 
			var oldonload = window.onload; 
			if (typeof window.onload != 'function') { 
				window.onload = func; 
			} 
			else 
			{ 
				window.onload = function() 
				{ 
					if (oldonload) 
					{ 
						oldonload(); 
					} 
					func(); 
				} 
			} 
		} 

		addLoadEvent(function() 
		{ 
			try
			{
				var elements = getElementsByClassName("hyperlink_siteB");
				for (var i = 0; i < elements.length; i++)
				{
					var hyperlink = elements[i];
					hyperlink.href = hyperlink.href.replace("http://www.siteA.com", "http://www.siteB.com");
				}
			}
			catch (ex){ }
		});
		
		/*
			Developed by Robert Nyman, http://www.robertnyman.com
			Code/licensing: http://code.google.com/p/getelementsbyclassname/
		*/
		var getElementsByClassName = function (className, tag, elm){
			if (document.getElementsByClassName) {
				getElementsByClassName = function (className, tag, elm) {
					elm = elm || document;
					var elements = elm.getElementsByClassName(className),
						nodeName = (tag)? new RegExp("\\b" + tag + "\\b", "i") : null,
						returnElements = [],
						current;
					for(var i=0, il=elements.length; i<il; i+=1){
						current = elements[i];
						if(!nodeName || nodeName.test(current.nodeName)) {
							returnElements.push(current);
						}
					}
					return returnElements;
				};
			}
			else if (document.evaluate) {
				getElementsByClassName = function (className, tag, elm) {
					tag = tag || "*";
					elm = elm || document;
					var classes = className.split(" "),
						classesToCheck = "",
						xhtmlNamespace = "http://www.w3.org/1999/xhtml",
						namespaceResolver = (document.documentElement.namespaceURI === xhtmlNamespace)? xhtmlNamespace : null,
						returnElements = [],
						elements,
						node;
					for(var j=0, jl=classes.length; j<jl; j+=1){
						classesToCheck += "[contains(concat(' ', @class, ' '), ' " + classes[j] + " ')]";
					}
					try	{
						elements = document.evaluate(".//" + tag + classesToCheck, elm, namespaceResolver, 0, null);
					}
					catch (e) {
						elements = document.evaluate(".//" + tag + classesToCheck, elm, null, 0, null);
					}
					while ((node = elements.iterateNext())) {
						returnElements.push(node);
					}
					return returnElements;
				};
			}
			else {
				getElementsByClassName = function (className, tag, elm) {
					tag = tag || "*";
					elm = elm || document;
					var classes = className.split(" "),
						classesToCheck = [],
						elements = (tag === "*" && elm.all)? elm.all : elm.getElementsByTagName(tag),
						current,
						returnElements = [],
						match;
					for(var k=0, kl=classes.length; k<kl; k+=1){
						classesToCheck.push(new RegExp("(^|\\s)" + classes[k] + "(\\s|$)"));
					}
					for(var l=0, ll=elements.length; l<ll; l+=1){
						current = elements[l];
						match = false;
						for(var m=0, ml=classesToCheck.length; m<ml; m+=1){
							match = classesToCheck[m].test(current.className);
							if (!match) {
								break;
							}
						}
						if (match) {
							returnElements.push(current);
						}
					}
					return returnElements;
				};
			}
			return getElementsByClassName(className, tag, elm);
		};	
	</script>[/code]
]]></description>			<pubDate>12.09.2009</pubDate>		</item>		<item>			<title>tinyMCE is not defined</title>			<link>http://forum.umbraco.org/default.aspx?g=posts&amp;t=9830</link>			<description><![CDATA[http://htmlerror-info.blogspot.com/2009/12/tinymce-is-not-defined.html]]></description>			<pubDate>12.06.2009</pubDate>		</item>		<item>			<title>Porblem at applying font style in Richtext Editor</title>			<link>http://forum.umbraco.org/default.aspx?g=posts&amp;t=9610</link>			<description><![CDATA[Hi , i dont know whether this is correct topic to  put the query. 

I am new to umbraco. I am using tabview control of umbraco. I want to handle the events when we change the tab control. In my project in one tabi am showing some error messages. when i move to another tab and come to previous tab the error messages should not be visible. It should be clear when i move to another tab. Is there any way to do this. Is there any clicking or changed event of tab view. earlier replies will be appreciated.

Thanks in advance

Here is my code to add tabview control
[code]

<cc1:TabView runat="server" ID="tabControl"  Width="552px" Height="692px"/>
                    <cc1:Pane ID="Pane1" OnLoad="load" OnUnload="load" runat="server" Height="600px" Width="330px" >
                        <asp:Label ForeColor="Red" ID="lblError" runat="server"></asp:Label><br />
                        <table cellspacing="0" cellpadding="0" width="100%">
                                    <tr>
                                        <td width="10%">
                                            <asp:Label ID="lblOldUrl" Text="Old URL" runat="server" ></asp:Label>
                                         </td>
                                         <td >
                                            <asp:TextBox ID="txtOldUrl" runat="server" Width="37%" runat="server"></asp:TextBox>
                                         </td> 
                                    </tr>
                                    <tr>
                                         <td>
                                            <asp:Label ID="lblnewUrl" Text="New URL" runat="server"></asp:Label>
                                         </td>
                                         <td>
                                           <asp:TextBox ID="txtnewUrl" runat="server" Width="37%"></asp:TextBox>
                                         </td>
                                    </tr>     
                               </table> 
                        
                    </cc1:Pane>
			        <cc1:Pane ID="Pane2" OnUnload="load" runat="server" Height="600px">
			        <table cellspacing="0" cellpadding="0" width="500px">
			            <tr>
			                <td>
			                    <asp:GridView ID="gv1" runat="server" DataKeyNames="OldUrl" Width="400px" AllowPaging="true" AutoGenerateColumns="false" OnRowCreated="GridView1_RowCreated" >
                            <columns>
                                <asp:BoundField ControlStyle-Width="200px" HeaderText ="Old Url" DataField="OldUrl" />
                                <asp:BoundField ControlStyle-Width="200px" HeaderText ="New Url" DataField="NewUrl" />
                                 <asp:TemplateField >
                                    <ItemTemplate>
                                        <asp:LinkButton OnCommand="btn_Command" ID="UrlEdit" Text="Edit" CommandName="UrlEdit" runat="server"/>
                                    </ItemTemplate>
                                    <ItemStyle  width="25px"/>
                                </asp:TemplateField>
                                 <asp:TemplateField >
                                    <ItemTemplate>
                                        <asp:LinkButton OnCommand="btn_Command" ID="UrlDelete" Text="Delete" CommandName="UrlDelete" runat="server"/>
                                    </ItemTemplate>
                                    <ItemStyle  width="25px"/>
                                </asp:TemplateField>
                            </columns>
                        </asp:GridView> 
			                </td>
			            </tr>
			        </table>
[/code]]]></description>			<pubDate>10.09.2009</pubDate>		</item>		<item>			<title>Deleted DataType in use, Broke Document Type No node exists with id X</title>			<link>http://forum.umbraco.org/default.aspx?g=posts&amp;t=5370</link>			<description><![CDATA[i have tried re-creating the DataType again, but it still throws the "No node exists with id" error - any ideas as this is a real show-stopper for me?]]></description>			<pubDate>09.28.2009</pubDate>		</item>		<item>			<title>How to copy the deployment from development environment to test/production environment</title>			<link>http://forum.umbraco.org/default.aspx?g=posts&amp;t=8789</link>			<description><![CDATA[Old post this but I use it anyways.

Does Umbraco need to be installed on the production server before the copying of files begin? Or can I simply just do the steps above and umbraco will run?

Thanks!]]></description>			<pubDate>09.10.2009</pubDate>		</item>		<item>			<title>Partial document types for reusing on other document types</title>			<link>http://forum.umbraco.org/default.aspx?g=posts&amp;t=2197</link>			<description><![CDATA[I'm really happy this feature was implemented, because I am used to work with Sitecore. However it would be even greater if it was possible to change masterdocuments later on. The problem is that a client might say, that they want other features instead of a inherited masterdocument, and in such a case, it would be nice to just  choose another one]]></description>			<pubDate>08.18.2009</pubDate>		</item>	</channel></rss>