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
@inherits Umbraco.Web.Mvc.UmbracoViewPage<ArchetypeFieldsetModel> | |
@using Archetype.Models; | |
@using System.Text; | |
@using System.Text.RegularExpressions; | |
<div class="panel-group" id="accordion"> | |
@foreach(var item in Model.GetValue<ArchetypeModel>("hideShowItem")){ | |
var str = "collapse" + @item.GetValue("hideShowTitle").Replace(" ", ""); |
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.Globalization; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Web; | |
using Examine; | |
using Umbraco.Core; | |
using System.Collections.Generic; | |
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 System.Web; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Web.Mvc; | |
using Umbraco.Core.Models; | |
using Umbraco.Core; | |
using Umbraco.Web.Models; |
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
@inherits Umbraco.Web.Mvc.UmbracoViewPage<ArchetypeFieldsetModel> | |
@using Archetype.Models; | |
@using System; | |
@using System.Text; | |
@using System.Text.RegularExpressions; | |
@using Umbraco; | |
@using trainingNetWWW.App_Code; | |
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
@inherits Umbraco.Web.Mvc.UmbracoViewPage<GlossaryTerm> | |
@using trainingNetWWW.App_Code; | |
<a href="#" class="highlight" data-toggle="popover" title="@Model.Text" data-content="@Model.PopoverText">@Model.Text <i class='fa fa-question-circle'></i></a> |
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
// this can be used right on a template | |
// example woudl be to redirect FAQ Items up to the parent category | |
// this example has a built in achor to expand a hide show item on the parent | |
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@{ | |
Layout = null; | |
} | |
@{ |
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.Net; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Security; | |
using System.Web.Mvc; | |
using segalCollateral.Models; | |
using Umbraco.Web.Mvc; |
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 System.Web; | |
namespace segalCollateral.Models | |
{ | |
public class Pdfmodel | |
{ | |
string T1 { get; set; } |
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.Net.Mail; | |
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@{ | |
string comments = Request["comments"]; | |
string pageID = Request["theID"]; | |
if(Request.Headers["X-Requested-With"] == "XMLHttpRequest"){ | |
var pageNode = Umbraco.TypedContent(pageID.ToString()); | |
MailMessage message = new MailMessage(); | |
string fromEmail = ""; |
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
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage<ContentModels.HomePage> | |
@using ContentModels = Umbraco.Web.PublishedContentModels; | |
@{ | |
Layout = null; | |
} | |
<!DOCTYPE html> | |
<html lang="en" itemscope itemtype="http://schema.org/Article"> | |
<head> | |
<meta charset="utf-8"> |
OlderNewer