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
<% | |
' 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 |
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="http://www.sdltridion.com/2009/GUI/Configuration/Merge" | |
xmlns:cfg="http://www.sdltridion.com/2009/GUI/Configuration" | |
xmlns:ext="http://www.sdltridion.com/2009/GUI/extensions" | |
xmlns:cmenu="http://www.sdltridion.com/2009/GUI/extensions/ContextMenu"> | |
<resources cache="true"> | |
<cfg:filters /> | |
<cfg:groups/> | |
</resources> |
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.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: | |
// http://www.sdltridionworld.com/community/2011_extensions/parentchangenotifier.aspx | |
// http://sdllivecontent.sdl.com/LiveContent/web/pub.xql?action=home&pub=SDL_Tridion_2011_SPONE&lang=en-US#addHistory=true&filename=AddingANewColumnToAListView.xml&docid=task_E4EFBE6E5CA24C01B2531FB15AE95AE2&inner_id=&tid=&query=&scope=&resource=&eventType=lcContent.loadDoctask_E4EFBE6E5CA24C01B2531FB15AE95AE2 |
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
<xsd:schema xmlns:tcmi="http://www.tridion.com/ContentManager/5.0/Instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> | |
<xsd:import namespace="http://www.tridion.com/ContentManager/5.0/Instance"></xsd:import> | |
<xsd:annotation> | |
<xsd:appinfo> | |
<tcm:Labels xmlns:tcm="http://www.tridion.com/ContentManager/5.0"> | |
<tcm:Label ElementName="linkText" Metadata="false">Link Text</tcm:Label> | |
<tcm:Label ElementName="urlExternalLink" Metadata="false">Link Url (External)</tcm:Label> | |
<tcm:Label ElementName="urlInternalLink" Metadata="false">Link Url (Internal)</tcm:Label> | |
</tcm:Labels> | |
</xsd:appinfo> |
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
<xsd:schema xmlns:tcmi="http://www.tridion.com/ContentManager/5.0/Instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> | |
<xsd:import namespace="http://www.tridion.com/ContentManager/5.0/Instance"></xsd:import> | |
<xsd:annotation> | |
<xsd:appinfo> | |
<tcm:Labels xmlns:tcm="http://www.tridion.com/ContentManager/5.0"> | |
<tcm:Label ElementName="linkText" Metadata="false">Link Text</tcm:Label> | |
<tcm:Label ElementName="urlExternalLink" Metadata="false">Link Url (External)</tcm:Label> | |
<tcm:Label ElementName="urlInternalLink" Metadata="false">Link Url (Internal)</tcm:Label> | |
</tcm:Labels> | |
</xsd:appinfo> |
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
<xsd:schema xmlns="http://www.curlette.com/tridion/schemas/article" xmlns:tcmi="http://www.tridion.com/ContentManager/5.0/Instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.curlette.com/tridion/schemas/article"> | |
<xsd:import namespace="http://www.tridion.com/ContentManager/5.0/Instance"></xsd:import> | |
<xsd:include schemaLocation="tcm:3-26825-8"></xsd:include> | |
<xsd:annotation> | |
<xsd:appinfo> | |
<tcm:Labels xmlns:tcm="http://www.tridion.com/ContentManager/5.0"> | |
<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> |
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
@functions{ | |
public string GetSidebarCssClass(Models.ComponentPresentationModel sidebarCP){ | |
var cssClass = ""; | |
if(sidebarCP.IsFirst){ | |
cssClass = "first"; | |
} | |
return cssClass; | |
} |
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
@functions { | |
public string GetTridionComponentLink(string ID, string linkText){ | |
return "<tcdl:link />"; *@ to be implemented *@ | |
} | |
} | |
<div class='span9' id='content'> | |
<div class='page-header'> | |
<h1>@Fields.heading</h1> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
@importRazor("/webdav/20%20Developer%20-%20Templates%20-%20TomTom%2Ecom/Building%20Blocks/System/Razor%20TBBs/Html%20Header%20Snippet.cshtml") | |
<body> | |
<div class="container"> | |
<!-- Main hero unit for a primary marketing message or call to action --> | |
<!-- ct_index_bannerText here MAX=1 --> |
OlderNewer