umbraco

Umbraco 7 SEO tags

情到浓时终转凉″ 提交于 2019-12-02 22:52:27
问题 I have website I want to create SEO tags for in Umbraco. I was wondering how it is done? are there any best practice documents or advice? 回答1: You need to have properties for those items inside each document which should have them and will be displayed / indexed etc. You can achieve the goal with couple ways: You can create a small composition document type with all required properties ( SeoTitle , SeoDescription , SeoKeywords and whatever you want more) and attach it to your document types

Display Image from Media Library in Umbraco 7

扶醉桌前 提交于 2019-12-02 22:12:38
This should be something embarrassingly simple, but I can't get it to work: I'd simply like to display an image that was uploaded to the Umbraco Media Library (Umbraco 7.1.1) within a Partial View template. The code is @inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ var imgNode = CurrentPage.BannerBackgroundImage; var imgUrl = umbraco.library.NiceUrl(imgNode); <div id="banner-wrapper" style="background: url('@imgUrl') center center no-repeat;"> <!-- some irrelevant content --> </div> } where BannerBackgroundImage is a custom property of the page. When this is displayed, however, the @imgUrl

How to change URL names in Umbraco

試著忘記壹切 提交于 2019-12-02 19:44:36
This is my first time round using Umbraco and I have created Document Types / Pages using the wrong naming format and now this has transpired into my page URL's, for instance /about-page/ . How would I go about changing them to /about as I have searched the back-end admin panel and there dose't seem to be an option to change their link to document values. Would anyone be able to provide a simple code based example using umbracoUrlAlias or umbracoUrlName how I could change this preferably in Razor. Thanks c0demaster Editing @run yards Solution by digbyswift help in comment Correct Solution:

MVC and Umbraco integration

 ̄綄美尐妖づ 提交于 2019-12-02 18:40:50
I've followed the steps from http://memoryleak.me.uk/2009/04/umbraco-and-aspnet-mvc.html and integrated MVC in Umbraco with success, but I still have a problem which is critical for me. Is there any way to inherit the Umbraco defined templates in an MVC view? As I understand the problem is that the Umbraco templates become HTML only at runtime and the doctype properties, as @nodeName , are not recognized and "Object null reference" exception being thrown because of this. Thank you! This question is really old and not relevant to the current versions of Umbraco. Just in case anybody is still

Extending the umbraco dashboard

若如初见. 提交于 2019-12-02 16:47:35
I'd like to add my own section to the umbraco dashboard so that I can integrate my own admin piece to the existing login/admin structure. Is this possible without editing and recompiling the umbraco source itself? Is it recommended? If so, does anyone have resources to get started doing this? Tim Saunders Yes this is possible. The backend can be extended both in terms of the dashoard, sections and content trees. There is a config file you can use to define new dashboard sections. The config file can be found in the following folder: /config/dashboard.config Normally the dashboard.config file

Umbraco, is it just me or is it really hard to use? [closed]

有些话、适合烂在心里 提交于 2019-12-02 14:25:09
Looking for some feedback on those of you who have evaluated umbraco lately. I've been on a quest for the 'best' cms that balances ease of use/extendability/customization etc. to use as a base for a new vertical product I am in the planning stages on, so for the past month or so I have been downloading, installing, reading source code and creating test sites in every asp.net cms I can get my hands on - and so far I have pulled down GraffitCMS, MojoPortal, Oxite, Orchard, Kuboo and maybe a couple of others that I am not remembering of the top of my head. For each of those, except Umbraco , I

How to create a Custom section in admin panel of umbraco 6?

人走茶凉 提交于 2019-12-02 14:01:19
问题 I am looking to develop a custom user section in admin panel of umbraco 6. This section can manage user details as well as admin approval. Any one know how to implement this? 回答1: Apparently it is similar to doing it in Umbraco 4 But in Umbraco 6, instead of making the change to the umbracoApp table, you do the change in Config/applications.config file Update: For the tree nodes, I am still doing it the old way. Apparently in Umbraco 6 you can use trees.config, but I haven't tried it yet, I

Umbraco 7 SEO tags

我的未来我决定 提交于 2019-12-02 13:11:24
I have website I want to create SEO tags for in Umbraco. I was wondering how it is done? are there any best practice documents or advice? You need to have properties for those items inside each document which should have them and will be displayed / indexed etc. You can achieve the goal with couple ways: You can create a small composition document type with all required properties ( SeoTitle , SeoDescription , SeoKeywords and whatever you want more) and attach it to your document types (maybe even some master document type used for all webpages rendered and indexed across your site). Then you

Umbraco: Create CheckBoxList property with prevalues from mvc model

若如初见. 提交于 2019-12-02 10:08:38
What I want to do is create a CheckBoxList property so the editor could choose facilities specific for current page (hotel name) in BO, and render content based on what is checked. I've created a model: public class Facility { public int Id { get; set; } public string Description { get; set; } public string IconUrl { get; set; } public List<Facility> GetFacilities() { return new List<Facility>() { new Facility() { Id = 4, Description = "Free parking", IconUrl = "" }, new Facility() { Id = 6, Description = "Spa", IconUrl = "" }, new Facility() { Id = 7, Description = "Free Wifi", IconUrl = "" }

Umbaco Archtype rendering images (MediaPicker2)

余生颓废 提交于 2019-12-02 03:31:54
I'm building a image slider using Archtype in Umbraco. I was using umbraco 7.5.9 and Umbraco.MediaPicker when I started this but in the mean time I started a new project with the newest version Umbraco (7.6.2) which uses Umbraco.MediaPicker2 It was no problem rendering images with the old MediaPicker but with the MediaPicker2 it seems impossible. Here is my setup. The Archtype: Here is the partial view that rendered the old MediaPicker <div class="fullWidthSlider"> @foreach (var image in @CurrentPage.SliderImages) { <div>Id: @image.GetValue("image")</div>@*Line added for debug*@ var media =