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
<div id="sidebar"> | |
<!-- Start Region: { | |
title: "RightContent", | |
allowedComponentTypes: [ | |
{ | |
schema: "tcm:6-122-8", | |
template: "tcm:6-120-32" | |
}, | |
{ | |
schema: "tcm:6-106-8", |
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
<div class="box"> | |
<div class="heading"><h2>@@RenderComponentField("Metadata.title", 0)@@</h2></div> | |
<div class="content"> | |
<!-- TemplateBeginIf cond = "Metadata.type == 'blogroll'" --> | |
<div id="rssdata" class="linklist"> | |
<ul class="rss-items"></ul> | |
<div class="loading">@@label_loading@@...</div> | |
</div> | |
<script> | |
$("#rssdata").blogRoll({ |
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
/// <summary> | |
/// Resolver to strip out items from parent publication | |
/// </summary> | |
public class OnlyChildPublicationsResolver : IResolver | |
{ | |
/// <summary> | |
/// For publish and unpublish, remove all items from the parent publication from the list. | |
/// </summary> | |
/// <param name="item">Item to be resolved (e.g. a page, structure group, template)</param> | |
/// <param name="instruction">Resolve instruction</param> |
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
<span class="xpm-only"> | |
<b>[ Query : @@Component.Title@@ ]</b> | |
</span> | |
<!-- TemplateBeginIf cond = "Metadata.type == 'list'" --> | |
<custom:ProductList ID="product_list" runat="server" template="@@Component.MetaData.param1@@" publication="@@Component.Publication.ID@@" /> | |
<!-- TemplateEndIf --> | |
<!-- TemplateBeginIf cond = "Metadata.type == 'detail'" --> | |
<custom:ProductDetail ID="product_detail" runat="server" template="@@Component.MetaData.param1@@" publication="@@Component.Publication.ID@@" /> | |
<!-- TemplateEndIf --> |
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
/* | |
* Experience Manager show/hide | |
*/ | |
(function ($, window, i) { | |
$.fn.xpmShowHide = function (options) { | |
return this.each(function () { | |
i++; | |
var $this = $(this); | |
if (window.self === window.top) { |
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
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewItemsGroup.ascx.cs" Inherits="SDL.Examples.UI.Controls.ViewItemsGroup" %> | |
<%@ Import Namespace="Tridion.Web.UI" %> | |
<c:RibbonItemsGroup runat="server" ID="RibbonItemsGroup"> | |
<c:RibbonButton runat="server" CommandName="ViewStaging" Title="View in Staging" Label="View In Staging" IsSmallButton="true" ID="ViewStagingBtn" /> | |
<c:RibbonButton runat="server" CommandName="ViewLive" Title="View in Live" Label="View in Live" IsSmallButton="true" ID="ViewLiveBtn" /> | |
</c:RibbonItemsGroup> |
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
<ext:extension assignid="ViewItemsGroup" groupid="EditGroup" name="View" pageid="HomePage" insertbefore="PublishGroup"> | |
<ext:group>~/Controls/ViewItemsGroup.ascx</ext:group> | |
<ext:dependencies> | |
<cfg:dependency>My.Theme</cfg:dependency> | |
<cfg:dependency>My.Commands</cfg:dependency> | |
</ext:dependencies> | |
<ext:apply> | |
<ext:view name="DashboardView"> | |
<ext:control id="DashboardToolbar" /> | |
</ext:view> |
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
<%@ Control Language="C#" AutoEventWireup="true" Inherits="Example.Controls.DeckPages.MainDeckPage" %> | |
<div id="MainDeckPageOverlay" class="stack horizontal"> | |
<div class="label stack-elem"> | |
<asp:Label runat="server" Text="Stack Overflow" /> | |
</div> | |
<div class="separator line stack-elem"></div> | |
<div id="MainDeckPageButtonsHolder" class="line stack-elem"> | |
<c:extendablearea id="MainDeckPageButtons" runat="server"></c:extendablearea> | |
</div> | |
<c:extendablearea id="MainDeckPageBody" runat="server"></c:extendablearea> |
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
<ext:extendedareas> | |
<ext:add> | |
<ext:extension assignid="FirstButton" name="Newest"> | |
<ext:control>~/Controls/ExtendedAreas/FirstButton.ascx</ext:control> | |
<ext:pagetype></ext:pagetype> | |
<ext:renderinblock>false</ext:renderinblock> | |
<ext:apply> | |
<ext:view name="TridionDashboard"> | |
<ext:control id="MainDeckPageButtons" /> | |
</ext:view> |
OlderNewer