Questions tagged [umbraco7]

Umbraco 7 is an open source content management system (CMS) platform for publishing content on the World Wide Web and intranets. It is written in C# and deployed on Microsoft based infrastructure.

Umbraco 7 is the seventh stable release of Umbraco - an open source content management system (CMS) platform for publishing content on the World Wide Web and intranets. It is written in C# and deployed on Microsoft based infrastructure. The open source backend is released under an MIT License while the UI is released under the Umbraco license.

Resources

https://umbraco.com/products/umbraco-cms/umbraco-7/

1479 questions
3
votes
1 answer

Get media url in Umbraco 7 using GetProperty syntax

I manage to get my media URL using the following syntax: Umbraco.Media(CurrentPage.MyImage).Url But, when I try the same using the GetProperty syntax (strangely, I used getProperty for a while from examples online, but that syntax always returned…
Abel
  • 56,041
  • 24
  • 146
  • 247
3
votes
2 answers

C# Rest API returns string with double quotes

I have this silly problem, which I hope someone could help me enlighten. I am building an extension for Umbraco7's backoffice, for that I need to receive a simple string. My problem is the string return from the REST api contain double quotes and…
DNRN
  • 2,397
  • 4
  • 30
  • 48
3
votes
1 answer

Check if any id's in a comma-separated string match any id's in another string array

I'm working on a blog post system using the Umbraco CMS (v7), where each post can select multiple categories for the users to filter through on the front end; the categories for the blog posts are stored as a comma-separated string, using the…
mmmoustache
  • 2,273
  • 6
  • 41
  • 62
3
votes
1 answer

Session Start and Session End in Umbraco

I am using umbraco 7.0 and I need to add some custom code on application start, session start and session end. As for registering events in umbraco we have to inherit from Umbraco.Core.ApplicationEventHandler, I have sone so. But in that we can only…
Chaitanya Gadkari
  • 2,669
  • 4
  • 30
  • 54
3
votes
0 answers

Can't get zbu.ModelsBuilder to work in Umbraco 7

I am using Umbraco 7, and have just installed the zbu Models Builder Integration package for asp.net using nuget (by running Install-Package Zbu.ModelsBuilder.AspNet -Pre in my NuGet Package Manager console) (which, from what I can see, always…
Veverke
  • 9,208
  • 4
  • 51
  • 95
3
votes
3 answers

how to give alternating class to alternating item of @foreach look in Razor + umbraco

I am using Umbraco 7.x I need some thing like following In list Item generated using for each. alternating item need to give respective class. So is their any was to determine even and odd row to give respective class name. As following is my code…
BJ Patel
  • 6,148
  • 11
  • 47
  • 81
3
votes
1 answer

Adding Grids within Grids

I've just come across the new Grid layout system in Umbraco, which seems quite interesting, however I can't seem to find a way to include a grid within a grid. I've added a simple 2 column row onto a page in the example below, but now I want to add…
Ian
  • 33,605
  • 26
  • 118
  • 198
3
votes
1 answer

Custom icon for umbraco section

I am using Umbraco 7. I have created a custom section using namespace MyUmbraco.Sections { [Application("CustomSection","mySection","myicon",8)] public class CustomSection: IApplication { } } I am able to create nodes in my…
Chaitanya Gadkari
  • 2,669
  • 4
  • 30
  • 54
3
votes
1 answer

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

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…
Dan Harris
  • 1,336
  • 1
  • 21
  • 44
3
votes
3 answers

Rich text editor (tinymce) images - how to disable auto height and width?

We're using Umbraco v7.2.1 to serve what is supposed to be responsive content. When you add an image from the media library to the tinymce editor, this is the html that is inserted by tinymce:
jenson-button-event
  • 18,101
  • 11
  • 89
  • 155
3
votes
3 answers

Hosting Umbraco site with MVC site in IIS

I have created Umbraco 7 MVC site and deployed it to IIS. So the URL goes like eg: www.mydomain.com. In a sub directory i have hosted a separate MVC web site. so the URL goes eg: www.mydomain.com/MVCApplication. When I tried to access sub…
Aruna
  • 1,962
  • 4
  • 25
  • 50
3
votes
1 answer

Umbraco 7.2.0 - getting descendants of node using where clause in razor

Let's say I have a document type with alias BlogPost, which has properties: blogTitle (Text String) blogDate (DateTimePicker) blogBody (Rich Text Editor) When getting the latest 5 blogs contained in the site, I would use the following snippet: var…
LoveFortyDown
  • 1,011
  • 2
  • 17
  • 37
3
votes
1 answer

Umbraco 7: How can I refresh the tree view in my custom section?

I have created a custom section in umbraco to manage some data in an SQL database. I can edit items OK but when adding I need to refresh the page to see my new row in the custom tree on the left. How can I cause a refresh of my custom tree using…
Rob Stevenson-Leggett
  • 35,279
  • 21
  • 87
  • 141
3
votes
1 answer

Output top level nodes in Umbraco Razor navigation

I am struggling with a very simple Umbraco 7 navigation. Basically, I have several "sites" in one solution – or, same site, but for different countries and languages. Their home page are top level nodes, and all the subpages are nested in level 2…
Nix
  • 5,746
  • 4
  • 30
  • 51
3
votes
3 answers

creating custom controller and view error "Page Not found, No umbraco document matches the url '/home2/index'."

I m new to Umbraco and doing some test / learning work. I have created a new controller named Home2, please note I don't have a doc type for Home2. I want to create non Umbraco view/ pages that can work with Umbraco. On running I m getting below…
user576510
  • 5,777
  • 20
  • 81
  • 144