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 System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Threading; | |
| using System.Web.UI; | |
| using Telerik.Sitefinity; | |
| using Telerik.Sitefinity.Abstractions; | |
| using Telerik.Sitefinity.Libraries.Model; | |
| using Telerik.Sitefinity.Modules.GenericContent; |
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
| protected DynamicContent GetDynamicContentFromUrl() | |
| { | |
| var urlParameters = this.GetUrlParameters(); | |
| DynamicContent item = null; | |
| if (urlParameters != null && urlParameters.Length != 0) | |
| { | |
| string redirectUrl = string.Empty; | |
| item = manager.Provider.GetItemFromUrl(facilityType, this.GetUrlParameterString(true), out redirectUrl) as DynamicContent; | |
| } | |
| return item; |
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
| function createTwoColumnLayout (itemsClassSelector) { | |
| var colCount = 1; | |
| var c = 0; | |
| if(itemsClassSelector.indexOf(".") > -1){ | |
| items = $(itemsClassSelector); | |
| } | |
| else{ | |
| items = $("."+itemsClassSelector); | |
| itemsClassSelector = "."+itemsClassSelector | |
| } |
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
| <%@ Control Language="C#" %> | |
| <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> | |
| <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI" Assembly="Telerik.Sitefinity" %> | |
| <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.ContentUI" Assembly="Telerik.Sitefinity" %> | |
| <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.PublicControls.BrowseAndEdit" | |
| Assembly="Telerik.Sitefinity" %> | |
| <%@ Register Assembly="Telerik.Sitefinity.ContentModules" Namespace="Telerik.Sitefinity.Modules.News.Web.UI" TagPrefix="sf" %> | |
| <%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI.ContentUI" TagPrefix="sf" %> | |
| <%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Modules.Comments.Web.UI.Frontend" TagPrefix="comments" %> |
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
| @model SitefinityWebApp.Mvc.Models.HubSpotPostsModel | |
| <div class="sf_cols posts"> | |
| @{int column = 1;} | |
| @foreach (var item in Model.Posts) | |
| { | |
| string colOut = "sf_3cols_" + column + "_3" + ((column == 2) ? "4" : "3"); | |
| string colIn = "sf_3cols_" + column + "in_3" + ((column == 2) ? "4" : "3"); | |
| <div class="sf_colsOut @colOut"> | |
| <div class="sf_colsIn @colIn"> | |
| <section class="post"> |
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 System; | |
| using System.Linq; | |
| using Telerik.Sitefinity.Scheduling; | |
| using System.Web.Configuration; | |
| using System.Net.Http; | |
| using System.Net.Http.Headers; | |
| using System.Web.Script.Serialization; | |
| using Aptera.Sitefinity.Data.DynamicModules; | |
| using System.Collections.Generic; | |
| using Telerik.Sitefinity.Abstractions; |
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 SitefinityWebApp.Custom; | |
| using System; | |
| using System.Linq; | |
| using System.Web.Http; | |
| using System.Web.Routing; | |
| using Telerik.Sitefinity.Abstractions; | |
| using Telerik.Sitefinity.Configuration; | |
| using Telerik.Sitefinity.Data; | |
| using System.Web.Http.OData.Builder; | |
| using Aptera.Sitefinity.Model; |
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 System.Collections.Generic; | |
| using Telerik.Sitefinity.Cloud.WindowsAzure; | |
| using Telerik.Sitefinity.Configuration; | |
| using Telerik.Sitefinity.Services; | |
| namespace SitefinityWebApp | |
| { | |
| /// <summary> | |
| /// Sitefinity's Windows Azure role entry point. | |
| /// </summary> |
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 Aptera.Sitefinity.Models; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web.Http; | |
| using System.Web.Http.OData; | |
| using Telerik.Sitefinity.DynamicModules; | |
| using Telerik.Sitefinity.Utilities.TypeConverters; | |
| using Telerik.Sitefinity.Model; | |
| using Telerik.Sitefinity.GenericContent.Model; |