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
var $j = jQuery.noConflict(); | |
var userid = GetUserID(); | |
var connection = $j.connection('http://localhost:8123/channel'); | |
connection.start() | |
.done(function() { | |
connection.send('join ' + userid); | |
connection.received(function (data) { | |
// Show MessageCenter Message | |
$messages.registerNotification(data); |
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
// Created by Robert Curlette, 18 June, 2013 | |
// Not possible with support of Tridion StackExchange community and these posts: | |
// http://tridion.stackexchange.com/questions/1810/component-fields-available-in-gui-extension-with-fieldbuilder | |
// http://tridion.stackexchange.com/questions/1252/gui-extension-to-hide-field-in-2011-sp1 | |
// http://tridion.stackexchange.com/questions/1380/make-schema-fields-read-only-in-tridion-2011-sp1 | |
// http://tridion.stackexchange.com/questions/1915/how-to-get-component-metadata-fields-with-fieldbuilder | |
var $j = jQuery.noConflict(); | |
if ($display) | |
{ |
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:extensiongroups> | |
<cfg:extensiongroup name="Tridion.Extensions.ComponentView.Fields"> | |
<cfg:extension target="Tridion.Web.UI.Editors.CME.Views.Component"> |
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.Text; | |
using ServiceStack.OrmLite; | |
using ServiceStack.OrmLite.Sqlite; | |
using System.Data; | |
using ServiceStack.Common.Utils; | |
namespace OrmLiteExample |
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.Text; | |
using ServiceStack.DataAnnotations; | |
namespace OrmLiteExample | |
{ | |
class Note | |
{ |
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.Text; | |
using ServiceStack.OrmLite; | |
using ServiceStack.OrmLite.Sqlite; | |
using System.Data; | |
using ServiceStack.Common.Utils; | |
namespace OrmLiteExample |
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> | |
<cfg:group name="RC.HelloTab" merge="always"> |
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
<head> | |
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'> | |
<title>@(Page.MetaData.Title != null ? Page.MetaData.Title : Page.Title)</title> | |
<meta content="@(Page.MetaData.Description)" name='description'> | |
<meta content="@(Page.MetaData.Keywords)" name='keywords'> | |
<link href="/global/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" /> | |
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'></script> | |
<script src='//ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js'></script> | |
</head> |
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="span4"> | |
<h2>@Fields.Heading</h2> | |
<p>@Fields.Summary</p> | |
<p><a class="btn" href="#">View details »</a></p> | |
</div> |