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 DotNetNuke.Common.Utilities; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Web; | |
namespace Satrabel.OpenContent.Components | |
{ |
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
select | |
e.EventName as url, | |
t.Tabid, | |
p.culturecode, | |
'ModuleID='+cast(e.moduleid as varchar(20))+'&ItemID=' + cast(e.eventid as varchar(20)) + '&mctl=EventDetails' as parameters, | |
m.PortalId | |
from events e | |
LEFT JOIN Modules M |
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 Satrabel.OpenBlocks.Token; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
public class MyTokenProvider : TokenProvider | |
{ | |
public override string Execute(Dictionary<string, string> parameters) | |
{ |
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" CodeFile="MyConfigurator.ascx.cs" Inherits="Providers_TokenProviders_My_MyConfigurator" %> | |
<div class="dnnFormItem"> | |
<asp:label id="lblField" runat="server" text="Parameter" helptext="Enter a value" | |
controlname="tbParameter" CssClass="dnnLabel" /> | |
<asp:TextBox ID="tbParameter" runat="server"></asp:TextBox> | |
</div> |
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
@inherits Satrabel.OpenBlocks.TemplateEngine.TemplateWebPage<Satrabel.OpenBlocks.DataSource.FilesModel> | |
<link rel="stylesheet" href="@(VirtualPath)/flexslider.css" type="text/css" media="screen" /> | |
<!-- Place somewhere in the <body> of your page --> | |
<div class="flexslider"> | |
<ul class="slides"> | |
@foreach(var item in Model.Items){ | |
<li> |