umbraco

Is it possible to create an Umbraco site from the Azure Marketplace using powershell?

强颜欢笑 提交于 2019-12-11 02:58:32
问题 I keep getting requests to set up Umbraco sites for developers. I have done a bit of searching and, I am wondering if it is possible to use powershell to create an Umbraco site from the Azure Marketplace using powershell . I create VMs, for example, using the following commands: Get-AzureVMImage New-AzureQuickVM But I cand find any for websites (web apps) from the market place. There is what I would use to do in in the portal: Note : it must be done using the market place. Update to question:

Building Examine (lucene.net) index with comma separated list of IDs

你。 提交于 2019-12-11 01:05:04
问题 I have an Umbraco website that is using Examine search which is based on lucene.net. I am pretty much trying to do exactly what is described in the following article: Querying against a comma separated list of IDs with Examine and Lucene.Net? The problem I have is when I am trying to create the index using the following code: // Loop through articles foreach (var a in articles) { yield return new SimpleDataSet() { NodeDefinition = new Examine.IndexedNode() { NodeId = a.Id, Type = "Article" },

Is the current page a descendant of a specific node id?

我们两清 提交于 2019-12-11 00:52:46
问题 How do I check using a razor template in Umbraco to determine if the current page is a descendant of a specific node? I'll be using a case statement. 回答1: Not sure if those methods still work with the latest version of Umbraco, but with 4.7.1 and DynamicNode there use to be those methods: @Model.AncestorOrSelf(string nodeTypeAlias) @Model.AncestorOrSelf(int level) @Model.AncestorOrSelf(Func<DynamicNode, bool> func) and those Helper functions: @Model.IsDescendant(DynamicNode[,valueIfTrue][

Does anyone know of a feature filled forum package for Umbraco 4.03?

為{幸葍}努か 提交于 2019-12-10 23:56:18
问题 I was wondering if anyone has built or know of a decent forum package for Umbraco 4.03?? I've had a little play with this but its a bit basic http://our.umbraco.org/projects/umbraco-forum-package and http://our.umbraco.org/projects/uforum-basics I've found this article on how to integrate YAF forum but would rather have one which fits a bit better.. http://dawoe.blogspot.com/2009/02/intergrate-yet-another-forum-193rc2.html Of course I know one answer, write or extend one of the above :) Any

Programmatically change locale (language) of a page

只谈情不闲聊 提交于 2019-12-10 23:15:45
问题 I have two root nodes in my Umbraco website.. one is set to English and other is set to German using Manage Hostnames .. |- en |---- english page1 |---- english page2 |- de |---- german page1 |---- german page2 http://mywebsite.com is set to en node and http://mywebsite.de is set to de node. I need to change the German node's language to English in certain conditions.. Is this possible and how? For example if someone calls an English page using German hostname, I need to change the locale to

Use a html page as a custom section in Umbraco 7 without a tree

夙愿已清 提交于 2019-12-10 21:24:28
问题 I have a HTML page that I want to show in a custom section in Umbraco 7. I want to do this without having any tree within that section, as everything is already handled within the html file - It is being placed into the Umbraco back end for convenient access. So far I have implemented IApplication which gets the section to show as expected. I did have a tree with a single node (Inheriting from BaseTree, making this a legacy section), however, I want to make full use of the space available and

Using Razor LINQ .Where() to find umbraco nodes with a certain date value

て烟熏妆下的殇ゞ 提交于 2019-12-10 20:34:14
问题 I'm currently rewriting an XSLT macro to display child nodes of the current page, depending on what querystring variables are set for 'month' and 'year'. This is used for a news listings page which displays articles for a certain period. In the old macro, I am looping through and selecting nodes where the month part of the "newsDate" property (which is a datepicker field) and assigning them to the nodelist variable. $Displaymonth is gathered from querystring. <xsl:for-each select="

Umbraco losing admin nodes

六眼飞鱼酱① 提交于 2019-12-10 19:54:31
问题 After a publish up to a remote server the Umbraco admin section on the remote server is not showing any nodes. The pages and images and everything serve correctly, but in the Umbraco admin section there is nothing below the top level nodes in each section and I can't right click and choose 'republish entire site'. I've connected my localhost version to the same database and there I can see the node structures (but republishing made no difference) and I could see the node structures on the

How to develop middle/large size project with Umbraco?

∥☆過路亽.° 提交于 2019-12-10 17:52:22
问题 I`m currently investigating how can Umbraco be used in our future projects. I watched Umbraco.tv and read different "Getting started" guides - its strong sides are pretty obvious and its abilities as a CMS are great. What is not obvious is how to work with Umbraco when you want a bit more than just CMS written site. Of cause no one would write large business application using CMS. But if you have just a bit of complex logic where would you settle it in Umbraco environment? If you need some

Grouping XML nodes by Month and Year in XSLT

ぐ巨炮叔叔 提交于 2019-12-10 17:04:57
问题 Update I'd like to appologize to the people who provided answers, I seem to have caused all sorts of confusion. To avoid complicating things even further, I've removed the previous code and have added new information. Read on... I'm working on a custom Blog in Umbraco. Umbraco spits out XML as the output which is then read using XSLT. The structure of the XML is as follows Blog Blog Centre Room Blog Post Blog Post Blog Post Room Blog Post Blog Centre Room Blog Post Here's the XML code, I've