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 EPiServer; | |
using EPiServer.Core; | |
using EPiServer.ServiceLocation; | |
namespace Core.Properties | |
{ | |
public static class PropertyFinder | |
{ | |
public static T FindProperty<T>(PageData currentPage, string propertyName) |
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
co = checkout | |
ci = commit | |
st = status | |
log1 = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
lg1 = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
exclude = !sh -c 'echo "$1" >> .git/info/exclude' |
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 EPiServer.Shell; | |
namespace Meridium.UIDescriptors | |
{ | |
[UIDescriptorRegistration] | |
public class PageDataUIDescriptor: UIDescriptor<PageData> | |
{ | |
public BasePageUIDescriptor() | |
{ | |
DefaultView = CmsViewNames.AllPropertiesView; |
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 express = require("express"), | |
open = require('open'), | |
app = express(), | |
port = ENTERPORT, | |
host = 'ENTER HOST IP'; | |
if(process.argv.length > 2) { | |
port = parseInt(process.argv[2]); | |
} |
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
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | |
<languages> | |
<language name="English" id="en"> | |
<admin> | |
<categories> | |
<tabledescription>Description</tabledescription> | |
</categories> | |
</admin> | |
</language> | |
</languages> |
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
Import-Module WebAdministration | |
if($SiteNamesForDeploy) { | |
$sitesForDeploy = $SiteNamesForDeploy.Split(',') | |
for ($i=0; $i -lt $sitesForDeploy.length; $i++) { | |
$currentSite = $sitesForDeploy[$i].Trim() | |
Write-Output "Stop-Website $currentSite" |
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
<!doctype html> | |
<html> | |
<head> | |
<title>Meridium blogginlägg</title> | |
<style> | |
body { | |
font-family: 'Nunito', HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
font-weight: 300; |
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 System.Collections.Generic; | |
using System.Linq; | |
using EPiServer.Shell.ObjectEditing; | |
namespace Alloy.Business.Properties.CustomSelectionFactory | |
{ | |
class CustomSelectionFactory<T> : ISelectionFactory | |
{ | |
public IEnumerable<ISelectItem> GetSelections(ExtendedMetadata metadata) |
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
define([ | |
// Dojo | |
"dojo/_base/declare", | |
"dojo/_base/array", | |
"dojox/html/entities", | |
// EPi | |
"epi-cms/contentediting/editors/SelectionEditor", | |
// Resources | |
"epi/i18n!epi/cms/nls/episerver.cms.widget.contentselector"], |
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
public static IQueriedSearch<ISearchContent, QueryStringQuery> ConfigurableUnifiedSearchFor(this IClient client, string query, Language language) | |
{ | |
return ConfigurableUnifiedSearchFor(client, query, language, DefaultOperator.OR); | |
} |
OlderNewer