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
<# | |
.SYNOPSIS | |
Lists the components (renderings) which are not or no longer linked to a page. | |
.NOTES | |
Ramon Bruelisauer (original code frame) | |
Manuel Fischer (adjustements und changes for using it with renderings) | |
#> | |
<## |
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
<# | |
.SYNOPSIS | |
Lists all media items that are not linked to other items. | |
.NOTES | |
Manuel Fischer | |
#> | |
function HasReference { | |
param( |
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
var language = Sitecore.Context.Language; //DE ist hier Kontextsprache | |
var item = Sitecore.Context.Database.GetItem("<id>", language); |
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
var language = Sitecore.Context.Language; //DE ist hier Kontextsprache | |
var item = Sitecore.Context.Database.GetItem("<id>", language); | |
var childItems = item.Children; |
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
using (new EnforceVersionPresenceDisabler()) | |
{ | |
//Dein Code | |
} |
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
using System.Web.Mvc; | |
using System.Web.Optimization; | |
using System.Web.Routing; | |
using NitroNet.Sitecore;; | |
namespace NitroNetMVC | |
{ | |
public class MvcApplication : System.Web.HttpApplication | |
{ | |
protected void Application_Start() |
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
using System; | |
using Microsoft.Practices.Unity; | |
using System.Web.Hosting; | |
using NitroNet.ViewEngine.IO; | |
using NitroNet.UnityModules; | |
using System.Configuration; | |
namespace NitroNetMVC.App_Start | |
{ | |
/// <summary> |
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
using System; | |
using Microsoft.Practices.Unity; | |
using System.Web.Hosting; | |
using NitroNet.ViewEngine.IO; | |
using System.Configuration; | |
using NitroNet.UnityModules; | |
using NitroNet.Sitecore.UnityModules; | |
namespace NitroNetSitecoreMVC.App_Start | |
{ |
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
using System.Web.Mvc; | |
using System.Web.Optimization; | |
using System.Web.Routing; | |
using NitroNet.Mvc; | |
namespace NitroNetMVC | |
{ | |
public class MvcApplication : System.Web.HttpApplication | |
{ | |
protected void Application_Start() |
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
{ | |
"viewPaths": [ | |
"frontend/views" | |
], | |
"partialPaths": [ | |
"frontend/views/_partials" | |
], | |
"componentPaths": [ | |
"frontend/components/atoms", | |
"frontend/components/molecules", |
OlderNewer