umbraco7

How To Persist and Fetch a List in Umbraco?

不羁岁月 提交于 2020-01-16 19:32:10
问题 I am new to Umbraco and want to perform the following tasks in it. Store a list of movies in the database using an entry form. Fetch the records of the movies and display them in a page for which I have a template. I don't want to use JQuery, AngularJS etc., but rather to do it on the server side. Any guidance will be appreciated greatly. P.S. I have some knowledge about Umbraco fundamentals and its Partial View Macros. 回答1: To clarify, I am assuming that you wish to create movie nodes in

Session timeout after some seconds in Umbraco

不羁的心 提交于 2020-01-13 10:58:08
问题 I have created an site on Umbraco 7.1.6 it was working perfect in Visual studio 2012; when I deployed it to my hosting space I found a problem that it redirects me to login screen again and again just after some seconds. I have set keep user login to true and increased timeout but no improvement. When I searched for that problem I found some links: https://github.com/umbraco/Umbraco-CMS/compare/release-7.1.6...7.2.0 http://issues.umbraco.org/issue/U4-3845 https://github.com/Umbraco/Umbraco

On submit click getting issue in umbraco

女生的网名这么多〃 提交于 2020-01-07 02:45:06
问题 I have one submit click on which the comment get submitted for particular product or thing but on clicking that I am not able to submit that commnet and facing issue as seen in below images Another thing is that this things are working properly in my local host but when I upload it on my beta/staging/Live server I am facing this issue. I have also tried deleting umbraco.config file and log file but still facing same issue Also on log file I can see the issue as I have one issue for what i

alasql CSV pulling through functions

人走茶凉 提交于 2020-01-06 14:45:47
问题 So I have written a function to pull data from a C# controller. It is pulled through into a FormData object and then converted into an array, the array is supposed to be broken down into comma separated values. however when I download the csv this is what I get (screenshot): http://postimg.org/image/wex20t1h3/ Here is my Angularjs controller code: angular.module("umbraco") .controller("ExportAllController", function ($scope, $http) { $scope.filedownload = {}; $scope.exportAll = function () {

AngularJs input[type=date] not showing value on load

泪湿孤枕 提交于 2020-01-06 06:34:12
问题 I'm hoping you can help as I'm fairly new to AngularJs. I have created an edit form template that displays 3 fields; a name, a start date and an end date. The data is coming from a WebAPI controller written in C# with an entity framework data source. When the form loads the input for the start data and for the end date are blank. All of this is part of an extension to the Umbraco7 back end. How can I get my date inputs to populate and keep the data binding to my model? This is my form: </div>

Create NestedContent Items In SurfaceController

空扰寡人 提交于 2020-01-06 03:29:23
问题 I have two document types: FormSubmission FormField The Form document type has a property named Fields which is a Nested Content data type that contains a list of FormField document types. I am trying to programmatically (in a SurfaceController) create a FormField and add it to the Fields property of the Form document type. Here is the code I am trying to use to do this: var newFormFields = new List<Umbraco.Core.Models.IContent>(); int i = 0; foreach (var formField in model.Fields) { string

Cannot warm up pages using applicationInitialization in webconfig

那年仲夏 提交于 2020-01-03 09:23:49
问题 I have a simple Umbraco 7.7.2 application and I'm hosting it on Azure (app-service). When I restart the server it takes 20-40 seconds for first time requesting a page which is really annoying specially when the load is high and you are Scaling out to reduce the response times. I've tried this setting in my webconnfig, but it doesn't seem to work. <system.webServer> <applicationInitialization> <add initializationPage="/page1/?warmup=1" hostName="mydomain.com" /> <add initializationPage="/page1

Umbaco Archtype rendering images (MediaPicker2)

China☆狼群 提交于 2019-12-31 04:53:22
问题 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

Umbraco 7.2.6 Installation and Cultural and Host Name Issues

浪子不回头ぞ 提交于 2019-12-25 13:09:35
问题 I am developing a web application using MVC 4, WebAPI 2.0 and Umbraco 7.2.6. Today I was faced two issues Issue 1 Cultural and Host Name :Unable to save culture and hostname. Please see the attached screenshot. Issue 2 While creating new Umbraco installation, I got this error "Cannot create an MVC Area path without the umbracoPath specified" . I fixed this issue by adding . after That i am getting errors one by one. The latest error I got is "System.Web.WebPages.Razor" doesnot exists but I

Umbraco on save and publishing showing error

僤鯓⒐⒋嵵緔 提交于 2019-12-25 08:15:58
问题 I'm trying to Save and publish code on Admin side in: Content>Home page>recipies>Ingrediantname >Some comment But on clicking save and publish its showing error as shown in image How can I resolve this? Its asking for some Permission and i had set hi as administrator also in usertype I have provided the rights of publishing by click that checkbox 来源: https://stackoverflow.com/questions/40282645/umbraco-on-save-and-publishing-showing-error