This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The situation is this... you can no longer get into the umbraco backoffice for one reason or another... trust me it happens! | |
So, there is a package you can download and it works in most cases: | |
https://our.umbraco.org/projects/developer-tools/umbraco-admin-reset/ | |
With this package you simply upload the dll to the server via ftp and place it in the .bin folder and you can login in with Admin and Admin1234! | |
=================================================== | |
however, if you are doing local dev with a compact SQL DB you will have to open the db in web matrix or similar then you can use this command: | |
UPDATE umbracoUser set userdisabled=0, userLogin='admin', userPassword='bnWxWyFdCueCcKrqniYK9iAS+7E=' where id=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<rewrite> | |
<rules> | |
<rule name="orgRewrite" stopProcessing="true"> | |
<match url="(.*)" ignoreCase="true" /> | |
<conditions logicalGrouping="MatchAll"> | |
<add input="{HTTP_HOST}" pattern="^www\.(.+)$" /> | |
</conditions> | |
<action type="Redirect" url="http://{C:1}/{R:0}" appendQueryString="true" redirectType="Permanent" /> | |
</rule> | |
<rule name="Redirects umbraco.io to actual domain" stopProcessing="true"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@inherits UmbracoViewPage<dynamic> | |
@using Umbraco.Web.Templates | |
@using Newtonsoft.Json.Linq | |
@* | |
Razor helpers located at the bottom of this file | |
*@ | |
@if (Model != null && Model.sections != null) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@using System.Text | |
@using System.Text.RegularExpressions | |
@using Examine; | |
@using Examine.LuceneEngine.SearchCriteria; | |
@{ | |
Layout = "InsideMain.cshtml"; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"label": "Show by state", | |
"description": "Show this row for the following states.", | |
"key": "state", | |
"view": "/App_Plugins/StatePicker/state-picker-list.html", | |
"applyTo": "row", | |
"defaultConfig": { | |
"selectMultiple": true, | |
"displaySelectInversed": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getDateInfo(info) { | |
var test = info.toString(); | |
$.ajax({ | |
type: 'POST', | |
url: "/umbraco/surface/rendercalendar/listevents", | |
//contentType: "application/json; charset=utf-8", | |
data: {'matchThis': test}, | |
datatype: "json", | |
success: function (data) { | |
console.log(data); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contentGrid:{ | |
"name":"Main Layout", | |
"sections":[ | |
{ | |
"grid":12, | |
"rows":[ | |
{ | |
"name":"Single Cell Row", | |
"areas":[ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@{ | |
var mediaRoot = Model.Content.GetPropertyValue<IPublishedContent>("formsAndDocs"); | |
} | |
<div id="formsDocsArea"> | |
@if(mediaRoot != null && Model.Content.GetPropertyValue<string>("asHideShow") == "True"){ | |
foreach( var item in mediaRoot.Children()){ |