umbraco

How to setup Umbraco 6.1.2 in Visual Studio 2012 with MVC enabled to use in TFS? [closed]

你说的曾经没有我的故事 提交于 2019-12-08 04:13:03
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 6 years ago . What I want is a development environment in Visual Studio 2012 for Umbraco version 6.1.2 (latest stable version at the moment) with MVC as rendering engine so I can use Razor and integrate a MVC project in Umbraco. I also want to be able to use a Team Foundation Sever to share and store the code.

Using a custom class file in Umbraco XSLT

与世无争的帅哥 提交于 2019-12-08 03:52:57
问题 I'm trying to reference a custom class file in XSLT code. I deployed it as a DLL file to the /Bin directory. Keep getting this error: System.Xml.Xsl.XslTransformException: Cannot find the script or external object that implements prefix 'urn:sso'. CS File Declarations: namespace SSOUtilities { public class sso XSLT Reference: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" xmlns:sso="urn:sso" xmlns:umbraco.library=

Visual Studio and TFS, detect changes outside Visual Studio [duplicate]

我与影子孤独终老i 提交于 2019-12-08 03:05:50
问题 This question already has answers here : Force TFS to detect changes (7 answers) Closed 3 years ago . Im Working with Visual Studio 2015 with an ASP.NET Web Application, with Umbraco and uSync installed. It's not essential what uSync and Umbraco are, but when I start the project and create a Template in Umbraco, uSync writes "export"-files to a specific folder in the project path. Now Visual Studio doesn't list the new, changed or deleted files under pending changes, so i can't check-in my

Use OrchardCMS, Umbraco or DotNetNuke as a component in ASP.NET application

不打扰是莪最后的温柔 提交于 2019-12-07 18:10:26
OrchardCMS , Umbraco and DotNetNuke are CMSes in .Net galaxy. They work as stand alone applications well. Suppose I have a requirement that need CMS features in an another ASP.NET MVC application. I do not like to implement CMS again in the application. Rather I like to use current CMSes as a component of application. Is it possible at all to use for example OrhcardCMS as a component of my MVC application? It is ideal to have relations between CMS and application itself, for example I can load entities from CMS, update them etc. I know there are integration techniques in .Net. For example ASP

How to get TabPage on which a user control data type resides

喜你入骨 提交于 2019-12-07 17:20:32
问题 I'm building a custom data type using the user control wrappper method. Within it I am adding the existing TinyMCE data type. The problem is that I need to find a way to dynamically get a hold of the current TabPage on which the data type resides so that I can add the TinyMCE buttons to the menu. This is what I have currently (the TabPage is hardcoded): Using statements: using umbraco.cms.businesslogic.datatype; using umbraco.editorControls.tinyMCE3; using umbraco.uicontrols; OnInit method:

Can't copy Umbrao.sdf from webserver

大兔子大兔子 提交于 2019-12-07 12:23:59
问题 I have an Umbraco application running on a webserver and I need to move the application to another webserver. The Umbraco application uses an embedded database (SQL CE 4). I can copy all the files in the application except the "Umbraco.sdf" file. 回答1: Add file named (if you like you can insert HTML that will be your maintenance page) app_offline.html After that IIS will release Umbraco.sdf and web.config copy and delete/rename mentioned file. 回答2: As the Umbraco installation will be using the

Umbraco - Render .Net User Control (ascx) macro with Razor

社会主义新天地 提交于 2019-12-07 07:29:06
问题 I have a razor script in Umbraco that is quite complex and I want at some point of it to render a macro in it. The macro which is called SuggestionBox is actually a user control (.ascx) and traditionally this is referenced on the template using <umbraco:macro Alias="SuggestionBox" language="cshtml" runat="server"></umbraco:macro> But now I need to call it from the razor script instead so I tried; @Html.Raw(umbraco.library.RenderMacroContent("SuggestionBox", Model.Id)) as well as: @RenderPage(

jQuery Validation plugin: disable validation for specified submit buttons when there is submitHandler handler

一曲冷凌霜 提交于 2019-12-07 05:46:38
问题 Ok, I am using umbraco forum module, and on the comment form it uses jquery validate plugin. The problem is that I have added a search button on the same page using a UserControl, the search submit button triggers the comment form submission validation. I have done some research, and added the 'cancel' css class to the button. This bypass the first validation issue, however, it still fall into the 'submitHandler'. Have read the source code and find a way to detect whether the search button

Umbraco MVC with Castle Windsor

空扰寡人 提交于 2019-12-07 05:37:18
问题 Does anyone have any example code for getting Umbraco MVC working with the Castle Windsor dependency injection framework? The problem I'm having is getting my surface controllers to use injectable parametised constructors. I know I'm doing something wrong but not sure what. I have followed the (non-Umbraco) tutorial here - http://docs.castleproject.org/Windsor.Windsor-tutorial-part-four-putting-it-all-together.ashx - which basically means on App_Start I'm running this code: var container =

Umbraco - Select node by URL

情到浓时终转凉″ 提交于 2019-12-07 05:25:35
问题 I'm having issues with Umbraco when trying to get access to a node by it's url. I've been trying to form an xpath query to select on the url, but I've no idea how to do that, and everything in their API is a 'dynamic' so I'm finding it impossible to dig much deeper for other methods. The "Link to document" property in the Umbraco editor shows the path to be " /links/link-regions/link-region-1/ ". Its location in the editor is " /Data/Links/Link Regions/Link Region 1 ". I suspect it'll look