umbraco

Which is faster... XSLT macro or .NEt User Control..

Using Umbraco, which is quicker to load on a page... XSLT Macro or a .NET user Control (via an Umbraco Macro). ...

Intermittent Umbraco Exception

This is an intermittent exception that occurs intermittently in Umbraco 3.0.4 running in IIS 6 When an umbraco user logs in and selects a document to edit occasionally they get this... [NullReferenceException: Object reference not set to an instance of an object.] umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, St...

Randomly choose a node in XSLT

Hi all I have a question about some sort af random function in XSLT. I have an XML-file that very simplified look similar to this: <node id="1198"> <node id="1201"> <data alias="name">Flemming</data> <data alias="picture">1200</data> </node> <node id="1207"> <data alias="name">John</data> <data alias="picture">12...

Reuse variable defined inside choose, outside of choose in XSLT

I have a piece of code that look similar to this: <xsl:choose> <xsl:when test="some_test"> <xsl:value-of select="Something" /> You are: <xsl:variable name="age">12</xsl:variable> years </xsl:when> </xsl:choose> My problem is that I would like to use the variable $age outside of the choose. How do I do ...

Sorting nodes in XLST

This code selects the nodes, I want to work on...: <xsl:variable name="rootTextpageNode" select="$currentPage/ancestor-or-self::node [@level = 2 and @nodeTypeAlias = 'CWS_Textpage']" /> How can I put a sort/orderby in there, so items with newer createdDate are displayed first? I'm using the CWS starter kit, and nee...

How to make pagination in XSLT

I have the following XSLT: <xsl:template match="/"> <div id="dokumentliste"> <xsl:variable name="alleNyheder" select="$currentPage//node" /> <xsl:for-each select="$alleNyheder"> <xsl:sort data-type="text" select="@createDate" order="descending" /> <xsl:if test="./data[@alias='manchet'] != ''">...

Retrieving a list of media in umbraco

Hi, I'm just starting to play with the XSLT system in umbraco where I was hoping to produce a macro which listed all the media under a specific media directory. I have come across umbraco.library:GetMedia but, frankly, I have no idea what to pass to it in order to get a list of items. The API docs at http://umbraco.org/apiDocs/html/M_...

Umbraco: working with version control? test/production?

I'm looking into using Umbraco for my site and so far I'm loving it. One big question that I have is how can I version control an Umbraco site as a lot of the data is in the database? How do you setup a test/dev environment and deploy to production in a streamlined way? Today (without Umbraco) I used SVN. with different copies of the...

umbraco authentication

I have an existing community backend and I like to use Umbraco for my presentation layer. How can I implement login/logout with .Net forms authentication? (I don't want to use the Member functionality). I have different type of users that get's access to different type of pages. How can I control this? User control? ...

Wildcard application map causing error on umbraco homepage

I'm trying to setup my umbraco site so that it does not use the .aspx extension. I made the necessary changes to the config files, but when I added the wilcard application mapping in IIS the homepage now comes back with an object reference error (at System.Web.UI.Control.ResolveClientUrl) if I try to access it from at the root (i.e. htt...

ASP.net Upload Limit Server timeout

Hi I'm having a problem with uploading files in the media section of Umbraco. I'm not sure if the problem is size related as I don’t get an error that give too much details but I'll explain what I’ve done so far and see if you can help. I've added: <httpRuntime maxRequestLength="102400" executionTimeout="3600"/> to the web.config wi...

Race conditions with Umbraco Membership provider?

Has anyone ever encountered any race conditions with Umbraco's membership provider? Currently I'm seeing an issue where if I click on a LoginStatus control to log out immeadiately after signing in, it takes two clicks to officially log out, but if I wait a period of time after logging in then the LoginStatus control allows me to log out ...

Umbraco - Mobile Phone Detect and Redirect

I am looking for a way in a umbraco site to detect if the user has a mobile device, then redirect the user to a mobile optimized page. I will also need the user to be able to force the full site if they wish. Does anyone have any experience with this? ...

Is there VS intellisense for Umbraco XSLT extensions?

Is it possible to get in Visual Studio code intellisense into XSLT extension functions. For example when I write: <xsl:value-of select="umbraco. I would get a list of all functions/methods available under "umbraco."? ...

Umbraco - postbacks caching problem

Hi Guys, I'm having a problem with a page im developing in umbraco. Im fairly new to it so would really appreciate some guidance. the problem seems to be connected to the way umbraco caches pages. what i have is a stockist locator map (a map of australia in my case). from this page, the user can select a region to see stockists withi...

Problems with using two Umbraco Media pickers

Hello, When I added a Media Picker on a Document Type in Umbraco I was able to select an item from the media library but when I added another Media Picker to the same Document Type none of them worked? I am using Umbraco 4.0.2.1 BR, Larre ...

Could not load file or assembly 'ImageManipulation' when installing Umbraco on Godaddy

I am installing Umbraco 4.0.2.1 on a client's Godaddy hosting account. I have set permissions to write on the bin, config, css, data, media, umbraco, usercontrols & xslt folders yet I am getting the following error. Server Error in '/subfolder' Application. Required permissions cannot be acquired. Description: An unhandled exception o...

How do I set minumum password requirements in Umbraco for the membership provider?

I am trying to set minimum password requirements for my membership provider in Umbraco. Currently my web.config membership section looks like this: <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15"> <providers> <clear /> <add name="UmbracoMembershipProvider" type="umbraco.provid...

How do I access properties from parent document to use in children

I am new to Umbraco CMS. PLease help. I have a Umbraco website in which I created a DocumentType called 'Master'. The 'Master' page lets user input a goal and amount for a fund raising initiate they are undertaking. On the 'Master' page I have a Macro which automatically does the math to generate a percent that will be used throughout...

Umbraco Back Office Membership Provider

Has anyone had any experience trying to write a custom Membership Provider for the Umbraco back office? I've run into all sorts of trouble trying to make this happen. You can see some more details here: Umbraco Issue Tracker If you made it work, what steps did you take and how did you make it get along with the umbracoUsers table in th...