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 the short URLs () respectively the set aliases in the system | |
.NOTES | |
Manuel Fischer | |
#> | |
$database = "master" |
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 pages which are not published yet (in the current version or any version at all). | |
.NOTES | |
Manuel Fischer | |
#> | |
function Get-AllUnpublishedPages { | |
Get-ChildItem -Path $homeFolder -Recurse | IsPage | IsPublished |
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 datasources which are not or no longer referenced to a rendering in a page. | |
.NOTES | |
Ramon Bruelisauer (original) | |
Manuel Fischer (adjustements for the Master Solution) | |
#> | |
<## |
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 set reminders of all content elements. | |
.NOTES | |
Manuel Fischer | |
#> | |
function Get-AllItemsWithReminders { | |
Get-ChildItem -Path $homeFolder -Recurse | IsReminderSet |
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 Sitecore; | |
using Sitecore.Data; | |
using Sitecore.Pipelines.HttpRequest; | |
namespace YourProject.Core.Processors | |
{ | |
public class ResponseHeaders : HttpRequestProcessor | |
{ | |
private readonly ID _responseHeadersItem = new ID("{2C9586BD-4384-4DBF-B595-CF914572B9CD}"); |
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 Sitecore; | |
using Sitecore.Data; | |
using Sitecore.Pipelines.HttpRequest; | |
namespace YourProject.Core.Processors | |
{ | |
public class ResponseHeaders : HttpRequestProcessor | |
{ | |
private readonly ID _responseHeadersItem = new ID("{2C9586BD-4384-4DBF-B595-CF914572B9CD}"); |
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
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<pipelines> | |
<httpRequestEnd> | |
<processor type="YourProject.Core.Processors.ResponseHeaders, YourProject.Core"/> | |
</httpRequestEnd> | |
</pipelines> | |
</sitecore> | |
</configuration> |
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", |
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
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 | |
{ |
NewerOlder