umbraco

Unable to access Login form in Umbraco 7.5.4 after deploying the web-application on Internet

本秂侑毒 提交于 2019-12-25 04:17:09
问题 After deploying my web application on internet, I cannot access to Login form for umbraco admin back-office [http://www.cake-and-art.de//umbraco][1] I've encountered an error. How can I solve it? Please help me. I've used Umbraco 7.5.4 and ASP.NET MVC Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security

umbracoNaviHide not working in Where statement

試著忘記壹切 提交于 2019-12-25 04:03:53
问题 Trying to get children of a given document type, with umbracoNavihide not set to false: The following produces correct output. @foreach (var child in root.Children.Where("ContentTypeAlias == \"DocumentTypehere\"")) { if (child.umbracoNaviHide == "False") { continue; } <li>@child.Name</li> } This does not: @foreach (var child in root.Children.Where("umbracoNaviHide == @0 && ContentTypeAlias == \"DocumentTypehere\"","False")) { <li>@child.Name</li> } 回答1: umbracoNaviHide is not supported in

Umbraco and Indexing

流过昼夜 提交于 2019-12-25 03:15:00
问题 I have a Visual Studio project with 2 solutions: Solution 1: UmbracoCms (Umbraco 7.2 code base) Solution 2: SeachIndexer (lucene.net spatial - Windows Console Application) In my solution 2 I have reference to the following .dlls from the Umbraco solution: UmbracoCms.dll cms.dll businesslogic.ddl umbraco.dll umbraco.DataLayer.dll In the Program.cs file I have the following code: Node rootNode = new Node(1103); string nodeTypeAlias = "articlePage"; if (node.NodeTypeAlias == nodeTypeAlias)

How to correctly install umbraco 7.10 or 8 getting stuck on db configuration

亡梦爱人 提交于 2019-12-25 01:26:29
问题 I am trying to install and configure Umbraco 8. The NuGet installs umbracoCms well then I run the app to configure the database (custom DB). And it crashes displaying: Error during installation See the log for full details (logs can typically be found in the App_Data\Logs folder) The log doesn't tell e much: {"@t":"2019-04-24T04:04:00.1230739Z","@mt":"An error occurred in InstallStatus trying to check upgrades","@l":"Error","@x":"System.NullReferenceException: Object reference not set to an

How to create normal controllers and views in an ASP.NET MVC application that already has umbraco 8 installed

断了今生、忘了曾经 提交于 2019-12-24 11:17:13
问题 I would like to include normal controllers and views in my ASP.NET MVC application that already has Umbraco setup, pardon me if I am missing something as I am new to Umbraco. I tried to follow this https://24days.in/umbraco-cms/2016/adding-umbraco-to-existing-site/ but its based on Umbraco 7 and I am unable to inherit from IApplicationEventHandler . I have tried to add controller and views directly but the routing doesn't work, as Umbraco takeover the routing. I would like to know how to

(Umbraco) Can get text but not image from a subnode to homepage

与世无争的帅哥 提交于 2019-12-24 10:48:17
问题 I'm trying to get text and image from articles in the subsection "Featured" (Home/Featured/Article1, 2,...,N) but I don't get image. This is the code that works fine getting text from every article that is inside the 'Featured' Node. <xsl:if test="position() < $maxItems"> <h3><a href="{umbraco.library:NiceUrl(@id)}"> <xsl:value-of select="newsTitle"/> </a> </h3> <strong><xsl:value-of select="intro"/></strong> <br/> <small> A: <xsl:value-of select="umbraco.library:FormatDateTime($currentPage/

Umbraco - members creating back-end content

坚强是说给别人听的谎言 提交于 2019-12-24 09:16:25
问题 I am trying to build an intranet where thousands of employees could create,edit and publish documents to the site. These documents will be fairly simple (possibly one rich text field and a few other simpler fields). I want to treat them as Umbraco back-end documents (rather than say data in separate SQL tables) so they can be included in partial views. There will be other, more complex documents but these will be managed by a smaller number of back-end users , so that is fine. I don't believe

Umbraco 5 ask if user has permission to node

梦想的初衷 提交于 2019-12-24 05:39:12
问题 Im working with Umbraco 5.1 beta. On the internet (this information is from previous versions, could not find recent documentation on it) I find that I could ask a node if the user has Access. In that way I want to build up my menu. The thing is, I cant get it to work, the HasAccess and IsProtected properties are not working. What am I doing wrong? Or does it work different in the newer versions of Umbraco? (I also tried it as method, still no result) This is the code I'm now using: @inherits

MVC Url Request - Illegal Characters in path

江枫思渺然 提交于 2019-12-24 04:24:06
问题 Overview: 404 error page is configured in web.config and working Using Umbraco v6.2 customErrors are set to RemoteOnly The issue is when I put "%7C" in the URL, I receive this: Illegal characters in path. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: Illegal characters in path. Source Error: An

ASP.NET see if member is online

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 03:29:51
问题 I'm developing a ASP.NET site in umbraco, and I need to see if a member with a given ID is online. How can I do that? So far, I've tried to get the member by so: Member m = new Member(myID); But how can I check, if the returned member is logged in or not? EDIT: I followed the link, and extracted the following code from it: var users = Membership.GetAllUsers(); foreach(MembershipUser user in users){ Response.Write(user.IsOnline.ToString() +"<br/>"); Response.Write(user.LastActivityDate