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 Sitecore.Form.Core.Attributes; | |
using Sitecore.Form.Core.Visual; | |
namespace MyProject.CMS.Custom.WFFM.Fields | |
{ | |
public class CheckboxWithHtml : Sitecore.Form.Web.UI.Controls.Checkbox | |
{ | |
private string _htmlText; | |
[VisualCategory("Appearance")] |
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.ComponentModel; | |
using Sitecore.Form.Core.Attributes; | |
namespace MyProject.CMS.Custom.WFFM.Fields | |
{ | |
public class PlaceholderInput : Sitecore.Form.Web.UI.Controls.SingleLineText | |
{ | |
[DefaultValue("")] | |
[VisualCategory("Appearance")] | |
[VisualProperty("Placeholder Text:", 200)] |
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.ComponentModel; | |
using Sitecore.Form.Core.Attributes; | |
namespace MyProject.CMS.Custom.WFFM.Fields | |
{ | |
public class EmailPlaceholder : Sitecore.Form.Web.UI.Controls.Email | |
{ | |
public new string Text | |
{ | |
get { return this.textbox.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
<?xml version="1.0"?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/"> | |
<sitecore> | |
<services> | |
<configurator type="Sitecore.Custom.Providers.ServicesConfigurator, Sitecore.Custom" /> | |
</services> | |
</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
using Ionic.Zip; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Comcast.ExtractPostProcessDllFromPackage | |
{ |
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.Linq.Expressions; | |
using System.Web; | |
using System.Web.Mvc; | |
using Glass.Mapper.Sc; | |
namespace MyProject.Custom.HtmlHelpers | |
{ | |
public static class GlassEditFrameExtensions | |
{ |
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
Sitecore.PageModes.ChromeControls = Sitecore.PageModes.ChromeControls.extend({ | |
renderCommandTag: function (command, chrome, isMoreCommand) { | |
var tag = this.base(command, chrome, isMoreCommand); | |
if (command.click.indexOf("chrome:") == 0) { | |
if (command.type == "common" || command.type == "datasourcesmenu" || command.type == "workflow") { | |
tag.click(function (e) { | |
e.stop(); | |
}); | |
} |
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 Sitecore.Pipelines.RenderField; | |
namespace MyProject.CMS.Custom.Pipelines.RenderField | |
{ | |
public class ShowTitleWhenBlank | |
{ | |
public void Process(RenderFieldArgs args) | |
{ | |
args.RenderParameters["show-title-when-blank"] = "true"; | |
} |
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 Sitecore; | |
using Sitecore.Diagnostics; | |
using Sitecore.Resources; | |
using Sitecore.Web.UI; | |
using Telerik.Web.UI; | |
using Sitecore.Data.Items; | |
namespace RTEDropList | |
{ | |
public class EditorConfiguration : Sitecore.Shell.Controls.RichTextEditor.EditorConfiguration |
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.ComponentModel; | |
using System.IO; | |
using System.Linq; | |
using System.Xml.Linq; | |
using HedgehogDevelopment.SitecoreProject.PackageInstallPostProcessor.Contracts; | |
using Sitecore.Diagnostics; | |
namespace ForwardSlash.TDS.PostDeploy | |
{ | |
[Description("Generate anti-update rollback package for latest deployment.")] |