umbraco

Umbraco cannot browse page by pagename.aspx

Hi, I have two seperate clean installations of Umbraco 4.5.x and both are having similar problems with page handling. If I browse pages by ID like /1083.aspx the page displays correctly, but if I try to browse by name like /about-us.aspx it gives 404 - file or directory not found. Thanks in advanced. Sanjay ...

Umbraco 4.5.2 admin UI broken

The Umbraco admin interface is broken for me, and in IE8 it shows couple of javascript errors. For a few hours it worked fine, but suddenly the css/style file appears to have gotten corrupted. I had just finished with Master and hpme pages for my site, so I don't think it is related to my changes :). Does any one know how to restore th...

How to add code-behind code to umbraco templates?

Hello, I am getting started with umbraco 4.5.2. I have my site up and running, and I am designing templates using some ASP.NET controls. How can I respond to events from these controls? For example, I have added a Button to a template. How can I edit the code-behind file to perform some action whenever the button is clicked? Thank you...

404 page in Umbraco?

I installed Umbraco 4.5 and it is running fine. one thing i cant get to work though, is the 404. When it hit a page that does not excist it shows the default IIS7 404 page, and not the built-in umbraco 404 page. So i am asuming it is a setting in the iis i have to change - but which? ...

Nested loops does not work correctly for xslt

I have been using a CMS which is called Umbraco(umbraco.org) and for displaying flash news on the website using SlideShowPro Standalone product(www.slideshowpro.net) In brief I created a section on admin panel as follows. -Flash(which has a xslt file) - Month name - A node with image - A node with video Every mon...

Creating a new CMS, importing content from ASP - Umbraco or Sharepoint?

I'm working on a project to create a CMS, which will entail importing a lot of existing content, most of which is static, but in ASP (so they're not all just pure HTML, there are includes and sometimes other server-side code). We're considering using Umbraco or Sharepoint (2010) for managing the external content, which currently compris...

Umbraco - set document publicly accessible via web services

Hi all, The question regarding the Umbraco CMS: I have to setup public access for particular document (a blog, for example) programmatically - using web services exposed by Umbraco (Document service, Member service, etc.). I suppose that services are suitable for CRUD operations only, but I am not sure, as they let setting document pro...

Custom webservice in Umbraco 4.5 giving odd error

We've created a custom webservice in Umbraco to add (async) files and upload them. After upload the service is called with node and file-information to add a new node to the content tree. At first our main problem was that the service was running outside of the Umbraco context, giving strange errors with get_currentuser. Now, we inher...

Get Umbraco node by path in c# (Language Switching)

I have a multi language site with the following structure: siteroot - en -- home -- login -- etc. - de -- home -- login -- etc. The content beneath the language nodes is not necessarily the same. When switching languages I want to test if the a paralell language node exisist. Currently I'm doing the following: - get current path - ...

have domain specified inside the links of pages generated with Umbraco

Not sure the title explains what I want to do, so here goes: I have a website constructed with Umbraco 4.5.x and the links in the pages use relative paths. I want to have the domain prepended to these links and don't know how to do that; I didn't really used Umbraco so I am a newby at this :(. What I want to do is replace links like: <...

Umbraco CMS(.NET): Logging errors loading xslt/User controls

I was wondering if there's a way in Umbraco to log errors that we get when it fails to load xslt or user-controls. Generally it shows a red box saying it couldn't load the control and stuff. Is there a way to properly log this? Thanks in advance. ...

URL rewriting with UrlRewritingNet fails with a + char in the URL

I'm using UrlRewritingNet in Umbraco to do some basic URL rewriting of product and category URLs. Everything is fine on my local machine (Visual Studio dev-webserver) and on our internal development server (Window Server 2008 with ISS 7, 32 bit). But it fails on the production server, which is Window Server 2008 R2 with IIS 7 (64 bit). T...

Copying an XSLT variable

Hello Stack Overflow, I'm working on an Umbraco XSL Stylesheet and I am pretty stuck. Basically, I have a parameter that I test and use it's value if it's present, otherwise I use the default parameter $currentPage. Here are the parameters <xsl:param name="source" select="/macro/sourceId" /> <xsl:param name="currentPage" /> Here's ...

TinyMCE can't align header tags

Does anyone know how I can enable text alignment of header tags through the TinyMCE interface? If I select the text (of any header tag) and select an aligment option it appears to have lined up correctly in the editor. However, when I save the page it gets shifted back to the default alignment (in my case left). I have also tried editin...

Simple CMS for .Net Webshop

Hi, Im not sure if this is the correct forum for this, if not I apologize. Here goes: Im trying to develop a webshop that should be very simple for the users. Simply add products, create pages, some kind of payment methods and order status. It shoulde also be fairly easy to set up new webshops. Im am currently trying to do this in Umbra...

Does Umbraco allow non-umbraco subdomains

Hi I am installing Umbraco to the root directory of my website. And also I want to install my wordpress blog to a subfolder in the root directory. However any request to the subfolder is being intercepted by Umbraco and it is showing that document URL cannot be found. Is there a way to make Umbraco ignore certain subdomains? ...

Modal that opens an IFRAME (umbraco)

Hi, I'v got a problem when opening a Modal window that loads a JFrame. The file loaded in the JFrame is a aspx file with a tag of /umbraco/controls/Tree/TreeControl.ascx. The modal loads and any text i put in is loaded but the TreeControl will not load. Iv used this ascx file in other places and it works greate if I load it via a normal ...

Umbraco rewrite rule for non-www domains

I'm trying to redirect any non-www prefixed traffic to the www prefixed domain. I'm using Umbraco as the CMS and have added the following code into the urlrewritingnet config file: <add name="nonWWW" virtualUrl="^(?!www\.)(.*)$" rewriteUrlParameter="ExcludeFromClientQueryString" destina...

Umbraco Admin UI not showing Tree Nodes thumbnail

Hi there, When installing an Umbraco site, I changed my umbraco admin url from '/umbraco/' to '/myadminurl/', even before I went through the install process. Just like it's documented, I changed in the web.config the keys 'umbracoReservedPaths' and 'umbracoPath' to match my new admin url. Installed and everything is working fine, exce...

Umbraco Document.getProperty(...).Value throws Null Reference Exception

I am writing a small app that links into Umbraco (a small stand-alone console application that will eventually run as a scheduled task on the server) and I'm using the Umbraco APIs (4.5.2) to make changes to the database/document. Here is a fragment of what I'm doing: IEnumerable<Document> documents = Document.GetChildrenForTree(parent...