Skip to content

Instantly share code, notes, and snippets.

@strezag
strezag / SitecoreAppCenter-DiscontinuedUpdate.ps1
Last active April 10, 2020 03:39
Update the Sitecore App Center's shortcuts in the Launchpad and Start Menu
$startmenuItem = Get-Item -Path "core:/sitecore/content/Documents and settings/All users/Start menu/Left/Sitecore App Center"
if ($null -ne $startmenuItem) {
Write-Host "DISABLED: `n$($startmenuItem.Name)`n$($startmenuItem.Id)`n$($startmenuItem.Paths.Path)`n"
$startmenuItem.Editing.BeginEdit()
$startmenuItem.Fields["Application"].Value = ""
$startmenuItem.Editing.EndEdit() > $null
}
$launchpadItem = Get-Item -Path "core:/sitecore/client/Applications/Launchpad/PageSettings/Buttons/Tools/AppCenter"
if ($null -ne $launchpadItem) {
@strezag
strezag / SitecoreContentEditorAnimations.ps1
Created September 25, 2019 23:36
Sitecore PowerShell Extensions 1 liner that adds some simple animations to the Content Editor
Get-Item $SitecoreDataFolder.Replace("App_Data", "\sitecore\shell\Themes\Standard\Default\Content Manager.css") | Add-Content -Value '.scDockTop span{-webkit-animation:tracking-in-expand .3s cubic-bezier(.215,.61,.355,1) both;animation:tracking-in-expand .3s cubic-bezier(.215,.61,.355,1) both}.scContentTree span{-webkit-animation:tracking-in-expand .3s cubic-bezier(.215,.61,.355,1) both;animation:tracking-in-expand .3s cubic-bezier(.215,.61,.355,1) both}@-webkit-keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}100%{opacity:1}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}100%{opacity:1}}'

Keybase proof

I hereby claim:

  • I am strezag on github.
  • I am gabestreza (https://keybase.io/gabestreza) on keybase.
  • I have a public key ASCvztHKHzGWcBAcHsyG5nRETkPVugGAk9VH2D2w8cAuOgo

To claim this, I am signing this object: