Get difference between CreateDate and UpdateDate in Razor
What's the best way to do this? Using umbraco.library.DateDiff doesn't seem to work. I'm not sure DateDiff works at all with CreateDate and UpdateDate, since it seems to expect a different format....
View ArticleGenerate link to a node selected in a content picker in v5
Hi guys I'm trying something that I think should be fairly simple. I have a content picker (called "extraInfo") on a doc type of mine. In this picker I have choosen another node (let's call it...
View ArticleGetting content from Hive
Here is an example where I want to get the ancestor of the current node which is of type "landing" I've written a helper class which gets it from hive public static Cms.Web.Model.Content...
View Articlev5: Possible to loop over x properties with almost same alias
On a site of ours, we want to be able to insert related information in right side of the page, using content pickers. So we have created three content pickers (called relatedInfo1, relatedInfo2 and...
View ArticleTinyMCE Config Umbraco 5
Hi, I can't seem to find the config file for TinyMCE in Umbraco 5, am I blind, or?
View ArticleV5 RC 3 Installation 404
Hi, Just installed V5 RC3 on a W7 box with IIS Express. Unzipped files to a My Webs/Umbraco5 directory and set up with Web Matrix to get IIS Express to see it. Ran the installation without a hitch to...
View ArticleBulk Upload Images (Custom Media Type)
Has anyone previously done any bulk uploading of images that are to be used as a custom media type? I have about 500 images to import as "MyCustomMediaType" as they have a custom property defied for...
View ArticleExtraction Error
Hi Guys, I have 2 instances of Umbraco. I have installed Courier 2 on both of them and added a Express Version Licencing to the bin folder. Now when i try to Transfer the Live website to a...
View Articlecheck if Node is included in DynamicNodeList
I have a very simple issue (it seems) - Id like to get distinct parent nodes from a DynamicNodeList. I have no trouble creating a new DynamicNodeList with the parent nodes, but want to get rid of the...
View ArticleUse IIS For Client Side Caching
Hi, I see there is a CachingTimeSpan setting in the config to apply client side caching. I appreciate how more useful this can be when dealing with different classes. However, this isn't required on a...
View ArticleEditing text in user control
Hi All -- Wrote a small registrion user control. What is the best way to edit the text in the user control by "Editor" user? Thanks.
View ArticleUmbraco 5 hack day/night in London
Hi, We are hosting a hack night in London with umbraco. See http://www.eventbrite.co.uk/event/2630225074 It's free to attend, with free beer and food. Just bring your laptop. We have bought a load of...
View ArticleGet a custom property value in .NET
Hi Guys, I have been trying to get this working but I think I am doing something wrong. Basically, i have a custom property on a product called "OVERIDE_VAT" and I am trying to get this value in a...
View ArticleConfused by results from Node.ChildrenAsTable()
Hi, I am relatively new to Umbraco and come from an ASP.NET programming background, therefore I am trying to use the API. My website has 6 pages, producing the following document type structure: ----...
View ArticleUmbraco V5: How to set user UI language
Anybody knows how to set user UI default language (other than english) in Umbraco V5?
View ArticleError running RTM on appharbor
Just decided to whip up a version of the RTM and kick the tires... and I'm encountering a backoffice issue on my deploy. here is the output to the console: Uncaught TypeError: Cannot read property...
View ArticleCustom objects in Umbraco V5
Hi!I'm going to work on a extension for V5 which need some custom objects. Should I use Hive as datasource or should i create custom tables in the db for my package? Is there any do's and don'ts?// M
View ArticleSetting language for a content tree
How do I set up the language in a content tree? I can set up the domain, but I can't assign it to a certain language Thanks Jorge
View ArticleExamine fluent API: grouping boolean operations
Hi all, I'm trying to tweak an Examine search query and for this I'm using the fluent API. I'm close to a solution but there is just one thing I can't get my head around. I'm using the code below to...
View ArticleProblems with automatic crop
Hi. I have just started working on a new site, and after a clean install of WebMatrix and Umbraco 4.7.1.1, the automatic cropping feature doesnt work when an image has been created. I have been...
View Article