目前,利用Ektron CMS,我正试图设置一个锁。 jpg 旁边有保护的/私人内容,如果该链接被点击,用户需要登录。
我不知道如何开始或继续这样做?
实现这一目标的任何想法或幻灯都将感激。
Thanks, Ron.
目前,利用Ektron CMS,我正试图设置一个锁。 jpg 旁边有保护的/私人内容,如果该链接被点击,用户需要登录。
我不知道如何开始或继续这样做?
实现这一目标的任何想法或幻灯都将感激。
Thanks, Ron.
内容提要有一个可以研究的原始财产。 在最近(v8.5),我将做如下工作。 后面的法典:
ContentManager contentManager = new ContentManager();
ContentCriteria criteria = new ContentCriteria();
criteria.AddFilter(ContentProperty.FolderId,
CriteriaFilterOperator.EqualTo,
folderId);
List<ContentData> list = contentManager.GetList(criteria);
Listview1.DataSource = list;
Listview1.DataBind();
如使用发言稿,请说明如下:
using Ektron.Cms;
using Ektron.Cms.Common;
using Ektron.Cms.Framework;
using Ektron.Cms.Content;
using Ektron.Cms.Framework.Content;
然后在ASP.NET中。 定时,我将使用标准的伙伴关系。 NET 清单服务器控制
<asp:listview ID="Listview1" runat="server">
<ItemTemplate>
<div>
<li><img src="<%#Eval("IsPrivate") %>.jpg" /><%#Eval("Title") %></li>
</div>
</ItemTemplate>
</asp:listview>
这使你朝着正确的方向前进。 关于第8.5号框架协议的更多信息,见http://www.ektron.com/Resources/Webinars/Framework-API/“rel=“nofollow”http://www.ektron.com/Resources/Webinars/Framework-API/。
In my webpages I have references to js and images as such: "../../Content/Images/"Filename" In my code if I reference a file as above, it doesnt work so i have to write: "c:/miscfiles/"filename" 1-...
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...
I m looking for best practices here. Sorry. I know it s subjective, but there are a lot of smart people here, so there ought to be some "very good" ways of doing this. I have a custom object called ...
I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...
i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...
For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?
I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!