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
public ActionResult SubscribePopupController() | |
{ | |
string sectionTitle = RenderingContext.Current.Rendering.Properties["Title"]; | |
string sectionDescription = RenderingContext.Current.Rendering.Properties["Description"]; | |
} |
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 Sitecore; | |
using Sitecore.Data.Items; | |
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
using System.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 Sitecore.Data.Items; | |
using System.Collections.Generic; | |
public class ItemInfo | |
{ | |
public ItemInfo(string itemName, string itemTemplate, string parentItem) | |
{ | |
ITEM_NAME = itemName; | |
ITEM_TEMPLATE = itemTemplate; | |
PARENT_ITEM = parentItem; |
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 Sitecore; | |
using Sitecore.Data; | |
using Sitecore.Data.Items; | |
using Sitecore.SecurityModel; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Data; | |
public class SitecoreHelper |
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
<form> | |
<div class="form-group"> | |
<label>Choose File</label> | |
<input id="fupExcel" type="file" required /> | |
</div> | |
<div class="form-group"> | |
<label>Start From Row</label> | |
<input id="txtStartFromRow" type="text" placeholder="Data will be processed from this row of excel sheet"/> | |
</div> | |
<div class="form-group"> |
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
namespace Corlate.Feature.PageContent.Models | |
{ | |
using Sitecore.Data.Items; | |
public class BlogCategory : CustomItem | |
{ | |
public BlogCategory(Item innerItem) : base(innerItem) { } | |
public string TitleID |
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
namespace Corlate.Feature.PageContent.Models | |
{ | |
using Sitecore.Data.Items; | |
public class BlogTag : CustomItem | |
{ | |
public BlogTag(Item innerItem) : base(innerItem) { } | |
public string TitleID |
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 Corlate.Feature.PageContent.Models | |
@using Sitecore.Mvc | |
@model ContactUsFormSource | |
@{ | |
Layout = null; | |
<style> | |
.validation-msg{ | |
font-size: 12px; | |
margin-left: 10px; | |
color:red; |
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
namespace Corlate.Feature.PageContent.Controllers | |
{ | |
using Corlate.Feature.PageContent.Models; | |
using Corlate.Foundation.Common.Models; | |
using Corlate.Foundation.Common.Utilities; | |
using Sitecore.Data; | |
using Sitecore.Data.Items; | |
using System.Collections.Generic; | |
using System.Web.Mvc; |
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
namespace Corlate.Feature.PageContent.Models | |
{ | |
public class ContactUsFormData | |
{ | |
public string Fullname { get; set; } | |
public string Email { get; set; } | |
public string Subject { get; set; } |