Skip to content

Instantly share code, notes, and snippets.

Robert Curlette rcurlette

Block or report user

Report or block rcurlette

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rcurlette
rcurlette / CountItemsBookmarklet
Created Dec 18, 2014
Tridion Count Items Bookmarklet
View CountItemsBookmarklet
<a href="javascript: (function (UI, B, e, a, r, d)
{
try
{
while (r = UI.frames[e++])
{
if ((a = r.$display && r.$display.getView()) && a.getId() == B)
{
d = a;
break;
View gist:e0faf9fde0951cb29b40
using System;
using System.IO;
using System.Linq;
using Tridion.ContentManager.ContentManagement;
using Tridion.ContentManager.Extensibility;
using Tridion.ContentManager.Extensibility.Events;
namespace Tridion.EventSystem
{
@rcurlette
rcurlette / tridion-gui-extension-installer.ps1
Created Dec 11, 2013
Tridion GUI Extension Installer in PowerShell
View tridion-gui-extension-installer.ps1
write-output "/***
* _____ _ _ _____ ______ _ _ _____ _ _ _
* / ____| | | |_ _| | ____| | | (_) |_ _| | | | | |
* | | __| | | | | | | |__ __ _| |_ ___ _ __ ___ _ ___ _ __ | | _ __ ___| |_ __ _| | | ___ _ __
* | | |_ | | | | | | | __| \ \/ / __/ _ \ '_ \/ __| |/ _ \| '_ \ | | | '_ \/ __| __/ _` | | |/ _ \ '__|
* | |__| | |__| |_| |_ | |____ > <| || __/ | | \__ \ | (_) | | | | _| |_| | | \__ \ || (_| | | | __/ |
* \_____|\____/|_____| |______/_/\_\\__\___|_| |_|___/_|\___/|_| |_| |_____|_| |_|___/\__\__,_|_|_|\___|_|
*
*
"
@rcurlette
rcurlette / TridionWorkflowHelpers
Created Nov 20, 2013
Tridion Workflow Helpers using Core Service
View TridionWorkflowHelpers
using System;
using System.Collections.Generic;
using System.Web;
using FlowPub.Model;
using Tridion.ContentManager.CoreService.Client;
using System.Configuration;
namespace FlowPub.Tridion
{
public class WorkflowHelper
@rcurlette
rcurlette / Default.aspx
Last active Dec 19, 2015
Signalr4Tridion test page for confirming the Signalr Server, and especially the URL of the server, are working correct.
View Default.aspx
<html>
<head>
<script src="Scripts/jquery-1.6.4.js" type="text/javascript"></script>
<script src="Scripts/jquery.signalR-1.1.2.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
var connection = $.connection('/channel');
connection.received(function (data) {
$('#messages').prepend('<li>' + data + '</li>');
@rcurlette
rcurlette / MessageCenterChannel.cs
Created Jul 10, 2013
Signalr4Tridion PersistentConnection for the SignalR server
View MessageCenterChannel.cs
using System;
using Microsoft.AspNet.SignalR;
using System.Threading.Tasks;
namespace Signalr4Tridion.SignalrServer
{
public class MessageCenterChannel : PersistentConnection
{
protected override Task OnReceived(IRequest request, string connectionId, string data)
{
@rcurlette
rcurlette / web.config
Created Jul 10, 2013
Signalr4Tridion web.config
View web.config
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
@rcurlette
rcurlette / PublishNotificationHandler.cs
Last active Dec 19, 2015
C# Tridion Event System code for sending messages to the MessageCenter using the Signalr4Tridion GUI Extension
View PublishNotificationHandler.cs
using System;
using Microsoft.AspNet.SignalR.Client;
using Tridion.ContentManager;
using Tridion.ContentManager.ContentManagement;
using Tridion.ContentManager.Extensibility;
using Tridion.ContentManager.Extensibility.Events;
using Tridion.ContentManager.Publishing;
namespace EventSystemSignalr
{
@rcurlette
rcurlette / Signalr4TridionEnableExtension.config
Created Jul 10, 2013
Code to add to the Tridion System.config to enable the Signalr4Tridion GUI Extension
View Signalr4TridionEnableExtension.config
<editor name="Signalr4TridionMC">
<installpath>C:\Program Files (x86)\Tridion\web\WebUI\Editors\Signalr4TridionMC</installpath>
<configuration>Signalr4TridionMC.config</configuration>
<vdir>Signalr4TridionMC</vdir>
</editor>
@rcurlette
rcurlette / Signalr4TridionMC.config
Last active Dec 19, 2015
Tridion GUI Extension Config file for the Signalr4Tridion MessageCenter notifications
View Signalr4TridionMC.config
<?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:extensiongroups>
<cfg:extensiongroup name="Signalr4TridionMC.Group">
<cfg:extension target="Tridion.Web.UI.Editors.CME.Views.Dashboard">
<cfg:insertafter>Signalr4TridionMC.Resources</cfg:insertafter>
</cfg:extension>
</cfg:extensiongroup>
</cfg:extensiongroups>
You can’t perform that action at this time.