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 urls = Telligent.Evolution.Extensibility.Api.Version1.PublicApi.Url; | |
var blogs = Telligent.Evolution.Extensibility.Api.Version1.PublicApi.Blogs; | |
var context = urls.CurrentContext; | |
var blogInfo = context.ContextItems.Find(item => item.ContentTypeId == blogs.ContentTypeId); | |
if (blogInfo == null || !blogInfo.ContentId.HasValue) | |
{ | |
// No current blog - do something |
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 urls = Telligent.Evolution.Extensibility.Api.Version1.PublicApi.Url; | |
var blogs = Telligent.Evolution.Extensibility.Api.Version1.PublicApi.Blogs; | |
var context = urls.CurrentContext; | |
var blogInfo = context.ContextItems.Find(item => item.ContentTypeId == blogs.ContentTypeId); |
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 urls = Telligent.Evolution.Extensibility.Api.Version1.PublicApi.Url; | |
// In 9.x You could use the Apis class instead: | |
// var urls = Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IUrl>(); | |
var context = urls.CurrentContext; |
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 urls = Telligent.Evolution.Extensibility.Api.Version1.PublicApi.Url; | |
// In 9.x You could use the Apis class instead: | |
// var urls = Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IUrl>(); | |
var absoluteUrl = urls.Absolute(url) |
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
$core_v2_page.AbsoluteUrl($url) |
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 client = new AmazonCloudSearchDomainClient(new AnonymousAWSCredentials(), Configuration); |
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 client = new AmazonCloudSearchDomainClient(Configuration); |
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
$('.content-fragment-page').evolutionReflow({ | |
minWidth: 890 | |
}); |
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
(function ($, global, undef) { | |
function attachHandlers(l, k) { | |
l.each(function() { | |
var f = $ | |
, e = window | |
, c = f.extend({}, k || {}) | |
, d = f(this) | |
, a = !1 | |
, b = f("<div></div>").addClass(c.cssClass).css("display", "none").insertBefore(d).end() | |
, h = null |
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
<rewrite> | |
<rules> | |
<rule name="RedirectToHolding" enabled="true" stopProcessing="true"> | |
<match url="^(?!health-check\.aspx).*$" /> | |
<action type="Rewrite" url="holding.htm" /> | |
</rule> | |
</rules> | |
</rewrite> |