-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
James Gregory
committed
Jan 2, 2018
1 parent
0ceedd8
commit 932b64f
Showing
45 changed files
with
2,123 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
*.cs text=auto diff=csharp | ||
*.html text=auto | ||
*.htm text=auto | ||
*.css text=auto | ||
*.scss text=auto | ||
*.sass text=auto | ||
*.less text=auto | ||
*.js text=auto | ||
*.sql text=auto | ||
*.ttf -text diff | ||
*.eot -text diff | ||
*.woff -text diff | ||
*.woff2 -text diff | ||
*.csproj text=auto merge=union | ||
*.sln text=auto eol=crlf merge=union | ||
|
||
*.item -text |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[Oo]bj/ | ||
src/**/[Bb]in/ | ||
specs/**/[Bb]in/ | ||
.nuget/ | ||
Deploy/ | ||
_ReSharper.* | ||
packages/ | ||
artifacts/ | ||
*.user | ||
*.cache | ||
*.suo | ||
*.userprefs | ||
*DS_Store | ||
*.sln.ide | ||
.sonar | ||
vars.user.cmd | ||
/.vs | ||
/target | ||
/node_modules | ||
temp/ | ||
*.ncrunchproject | ||
*.ncrunchsolution | ||
.vscode | ||
nCrunchTemp*.* | ||
optimized-min.yml | ||
$tf/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.27004.2005 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Community.Foundation.PlaceholderRules", "src\Foundation\PlaceholderRules\code\Community.Foundation.PlaceholderRules.csproj", "{67AB9BDB-23D3-4E84-A14A-2FBBC84F07F8}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ReadMe", "ReadMe", "{327F78E7-1973-4647-BA76-B8642845B314}" | ||
ProjectSection(SolutionItems) = preProject | ||
LICENSE = LICENSE | ||
README.md = README.md | ||
EndProjectSection | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{67AB9BDB-23D3-4E84-A14A-2FBBC84F07F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{67AB9BDB-23D3-4E84-A14A-2FBBC84F07F8}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{67AB9BDB-23D3-4E84-A14A-2FBBC84F07F8}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{67AB9BDB-23D3-4E84-A14A-2FBBC84F07F8}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {948E011C-C66D-4304-90A9-09DF72C3DEE2} | ||
EndGlobalSection | ||
EndGlobal |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,44 @@ | ||
# Community.Foundation.PlaceholderRules | ||
Sitecore Extension to allow Placeholder rules for managing allowed renderings | ||
Sitecore - Community.Foundation.PlaceholderRules | ||
============== | ||
|
||
Summary | ||
-------------- | ||
|
||
This extensions allows you to manage allowed placeholder settings with rules (similar to insert option rules) instead of configuring placeholder setting items directly. This is helpful when using component driven design or using third party placeholders which can be overwritten with future upgrades (SXA). | ||
|
||
Usage | ||
-------------- | ||
Manage rules under /sitecore/system/Settings/Rules/Placeholder Renderings/Rules | ||
|
||
[View screenshots in the wiki](https://github.com/digitalParkour/Community.Foundation.PlaceholderRules/wiki). | ||
|
||
|
||
Setup | ||
-------------- | ||
Either: | ||
* Install Sitecore package: | ||
\\releases\\Community.Foundation.PlaceholderRules-\*.zip | ||
Or: | ||
1. Include this project in your Helix style solution | ||
2. Update NuGet references to match target sitecore version | ||
3. Install sitecore package for data or enable Foundation.PlaceholderRules.Serialization.config and sync unicorn | ||
|
||
FYI | ||
-------------- | ||
This was built and tested with Sitecore 8.2 update 5 and update 6. Also works well with SXA. | ||
|
||
This package adds the following files: | ||
|
||
/bin/Community.Foundation.PlaceholderRules.dll | ||
/bin/Community.Foundation.PlaceholderRules.pdb | ||
|
||
/App_Config/Include/Foundation/Foundation.PlaceholderRules.config | ||
/App_Config/Include/Foundation/Foundation.PlaceholderRules.Serialization.config.example | ||
|
||
This package adds data items to the following locations: | ||
|
||
/sitecore/templates/Foundation/PlaceholderRules | ||
/sitecore/system/Settings/Rules/placeholder-renderings | ||
/sitecore/system/Settings/Rules/Definitions/Tags/Placeholder Renderings | ||
/sitecore/system/Settings/Rules/Definitions/Elements/placeholder-renderings |
Oops, something went wrong.