This file contains hidden or 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
@echo off | |
set websiteDir=%1 | |
if not defined websiteDir | |
set websiteDir=E:\Websites\WEB.CORP\Website\ | |
echo Website Root Directory - "%websiteDir%" | |
REM Clear App_Config\ | |
set subDir=App_Config\ | |
set delDir=%websiteDir%%subDir% | |
echo Clean "%delDir%" | |
rmdir /s /q "%delDir%" |
This file contains hidden or 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
@echo off | |
REM environment defaults | |
set sitecoreURL=%1 | |
if not defined sitecoreURL set sitecoreURL=https://site:8172/MSDeploy.axd | |
set sitecoreAppName=%2 | |
if not defined sitecoreAppName set sitecoreAppName=SitecoreSite | |
set userName=%3 |
This file contains hidden or 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
@echo off | |
for /f "tokens=1-4 delims=/ " %%i in ("%date%") do ( | |
set dow=%%i | |
set month=%%j | |
set day=%%k | |
set year=%%l | |
) | |
set datestr=%month%_%day%_%year% | |
echo datestr is %datestr% |
This file contains hidden or 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> | |
<sites> | |
<site name="MainSite" patch:before="site[@name='website']" | |
virtualFolder="/" | |
physicalFolder="/" | |
rootPath="/sitecore/content/Main Site/" | |
startItem="/home" | |
database="web" |
This file contains hidden or 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 System.Linq; | |
using System.Net; | |
using System.Net.Http; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Web.Helpers; | |
using System.Web.Http.Controllers; | |
using System.Web.Http.Filters; |
This file contains hidden or 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 corpServices = angular.module('corpApp.corpServices', ['ngResource']); | |
(function () | |
{ | |
//#region Common Service Methods | |
var serviceRootPath = '/api/'; | |
//add anti-forgery token to all Authenticated GET and POST requests | |
var AntiForgeryRequest = function (enableCache) |
This file contains hidden or 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
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files"> | |
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" /> | |
<staticTypes> | |
<add mimeType="text/*" enabled="true" /> | |
<add mimeType="message/*" enabled="true" /> | |
<add mimeType="application/javascript" enabled="true" /> | |
<add mimeType="application/atom+xml" enabled="true" /> | |
<add mimeType="application/xaml+xml" enabled="true" /> | |
<add mimeType="*/*" enabled="false" /> | |
</staticTypes> |
This file contains hidden or 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
//Bug fix for Sitecore 8 Advanced File Uploader not unzipping files | |
var SitecoreMediaFolder = Class.create({ | |
load: function () { | |
this.idSequence = 0; | |
this.uploaders = new Array(); | |
var simpleButton = $(this.getButton("media:multiupload")); | |
var advancedButton = $(this.getButton("media:multiupload", "options=1")); |
This file contains hidden or 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 System.Collections.Generic; | |
namespace BlackTambourine.Web.Helpers | |
{ | |
public class WorkboxPlusConfig | |
{ | |
public Dictionary<Guid, string> ItemTemplateNames { get; private set; } | |
public Dictionary<Guid, string> FilterableWorkflowStates { get; private set; } | |
public bool EnablePageLevelApproval { get; set; } |
This file contains hidden or 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
<?xml version="1.0"?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<!--Workbox Plus Module Settings--> | |
<WorkboxPlus> | |
<configuration type="BlackTambourine.Web.Helpers.WorkboxPlusConfig, BlackTambourine.Web"> | |
<!--Enable Page Level Approval - i.e. group children of Pages / Item together in the Workbox--> | |
<param name="EnablePageLevelApproval">true</param> | |
OlderNewer