Skip to content

Instantly share code, notes, and snippets.


Robert Curlette rcurlette

View GitHub Profile
rcurlette / ShowTemplateSource.asp
Created Mar 15, 2012
Tridion ShowTemplateSource Custom Page
View ShowTemplateSource.asp
' Author: Robert Curlette
' Date updated: 15 March, 2012
Option Explicit
Response.Buffer = true
' Get All CT Source
Dim objTDSE : set objTDSE = CreateObject("TDS.TDSE")
Dim templateRootFolder
dim ctFolderUri, tbbFolderUri, ptFolderUri
rcurlette / ListViewTcm.config
Created Apr 4, 2012
Tridion 2011 DataExtender URI Column Example config
View ListViewTcm.config
<?xml version="1.0"?>
<Configuration xmlns=""
<resources cache="true">
<cfg:filters />
rcurlette / TridionDataExtenderExample
Created Apr 16, 2012
Tridion DataExtender Example Starter Code
View TridionDataExtenderExample
using System;
using System.Diagnostics;
using System.IO;
using System.Xml;
using Tridion.ContentManager; // C:\Program Files (x86)\Tridion\bin\client
using Tridion.Web.UI.Core.Extensibility; // C:\Program Files (x86)\Tridion\web\WebUI\WebRoot\bin
// code samples used:
rcurlette / tridion-schema-embedded-link
Created Apr 25, 2012
Tridion Schema Embedded Link
View tridion-schema-embedded-link
rcurlette / tridion-schema-embedded-link
Created Apr 25, 2012
Tridion Schema Embedded Link
View tridion-schema-embedded-link
View tridion-detail-article
<xsd:schema xmlns="" xmlns:tcmi="" xmlns:xsd="" elementFormDefault="qualified" targetNamespace="">
<xsd:import namespace=""></xsd:import>
<xsd:include schemaLocation="tcm:3-26825-8"></xsd:include>
<tcm:Labels xmlns:tcm="">
<tcm:Label ElementName="heading" Metadata="false">Heading</tcm:Label>
<tcm:Label ElementName="subheading" Metadata="false">Sub-heading</tcm:Label>
<tcm:Label ElementName="summary" Metadata="false">summary</tcm:Label>
<tcm:Label ElementName="body" Metadata="false">Body</tcm:Label>
rcurlette / Tridion-Razor-Detail-TBB.htm
Created Apr 25, 2012
Tridion Razor Detail Page Template TBB
View Tridion-Razor-Detail-TBB.htm
public string GetSidebarCssClass(Models.ComponentPresentationModel sidebarCP){
var cssClass = "";
cssClass = "first";
return cssClass;
rcurlette / Tridion-Razor-Detail-Component-Template-TBB.htm
Created Apr 25, 2012
Tridion Razor Detail Component Template TBB
View Tridion-Razor-Detail-Component-Template-TBB.htm
@functions {
public string GetTridionComponentLink(string ID, string linkText){
return "<tcdl:link />"; *@ to be implemented *@
<div class='span9' id='content'>
<div class='page-header'>
rcurlette / Tridion-Razor-Sidebar-Component-Template-TBB.htm
Created Apr 25, 2012
Tridion Razor Sidebar Component Template TBB
View Tridion-Razor-Sidebar-Component-Template-TBB.htm
<div class="sidebar-article">
<a href="#">Link</a>
View Tridion-Razor-Index-PT.htm
<!DOCTYPE html>
<html lang="en">
<div class="container">
<!-- Main hero unit for a primary marketing message or call to action -->
<!-- ct_index_bannerText here MAX=1 -->