ektron

How to set overflow content to go underneath instead of fitting in one row

笑着哭i 提交于 2020-01-15 09:38:12
问题 I have an XSL file set up: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template name="homeArticleThumb" match="/"> <xsl:for-each select="Collection/Content"> <div class="setTableCell vertAlignT"> <div class="articleTeaserHolder"> <div class="imgHolder"> <xsl:variable name="imageSrc" select="Html/root/NewsArticle/artThumb/img/@src" /> <xsl:variable name="imageId"> <xsl:text>NewsArticle_</xsl:text> <xsl:value-of

FormBlock Server Control in Ektron

﹥>﹥吖頭↗ 提交于 2020-01-03 18:33:09
问题 I am working in Ektron 8.6. I have a FormBlock Server Control in my Template Page,It is having a DefualutFormID of a valid HTML form from workarea.The form in the workarea have got few form fields and their corresponding values. While the template page is rendering I need to GET those form field values and re-set them with some other values. In which Page –Cycle event I should do this coding? I tried this code in Pre-Render Event,but I am unable to GET the value there,but I am able to set a

How to remove content from collection and add it to another

时光总嘲笑我的痴心妄想 提交于 2019-12-25 11:54:27
问题 I have couple of providers created with a smartform: ID Title 90 Doctor A 102 Doctor B 10 Doctor C 26 Doctor D 495 Doctor E I have three collections in CMS: ID Title of Collection 12 IM Collection 43 UR Collection 9 EC Collection The following code retrieves the content for the collection which is working for me: ContentManager contentManager = new ContentManager(); ContentCollectionCriteria criteria = new ContentCollectionCriteria(ContentProperty.Id, EkEnumeration.OrderByDirection.Ascending)

How to remove content from collection and add it to another

房东的猫 提交于 2019-12-25 11:53:02
问题 I have couple of providers created with a smartform: ID Title 90 Doctor A 102 Doctor B 10 Doctor C 26 Doctor D 495 Doctor E I have three collections in CMS: ID Title of Collection 12 IM Collection 43 UR Collection 9 EC Collection The following code retrieves the content for the collection which is working for me: ContentManager contentManager = new ContentManager(); ContentCollectionCriteria criteria = new ContentCollectionCriteria(ContentProperty.Id, EkEnumeration.OrderByDirection.Ascending)

How do I show a list of SmartForms in Ektron

我怕爱的太早我们不能终老 提交于 2019-12-25 07:59:59
问题 How do I show a list of items created using a SmartForm in Ektron Version: 9.00 SP3(Build 9.0.0.249)? I created a SmartForm where users can put in details of job positions available. Now I want to display those positions in a list i.e. jobs available. Then when they click on a link it takes them to the details of that job. I have zero experience with Ektron so I hope this isn't a silly question and I need stuff broken down to pretty basic levels. 回答1: EDIT: You can find this and more in-depth

How to use ASP.net Routing to make url friendly

只谈情不闲聊 提交于 2019-12-25 06:47:32
问题 I have the following pages: Default.aspx find_provider.aspx --> (has a search which takes the user to each provider page) --> provider.aspx?id={####} news.aspx --> (has links to each news) --> article.aspx?id={####} health.aspx --> (has links to each event) --> event.aspx?id={####} patinfo.aspx --> (has links to each info) --> info.aspx?id={####} Although the page are easy to remember but not the ID. For example, in the find_provider.aspx when a search is performed, there are three results

.NET OutputCache directive not working

青春壹個敷衍的年華 提交于 2019-12-23 13:01:07
问题 I've been having strange cache issues and put together a very simple .NET page with an output cache directive. However, the page is not caching (the content updates on every refresh). I have a simple, minimal site of our CMS (Ektron v. 9.0 SP2) installed on my local machine (Windows 7). Within this website project I created a simple page for testing the output cache. Here is the page code: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CacheTest.aspx.cs" Inherits="CacheTest" %> <%@

How to select library items that belong to a taxonomy in Ektron

烂漫一生 提交于 2019-12-23 12:26:53
问题 I'm using Ektron CMS version 8.5 SP2. I have some items in a taxonomy. Some are actual pages, some are library items (documents like Word files and PDFs). Let's say there are 3 pages and 2 library items for a total of 5 items in my taxonomy. I use the following code... ContentManager cManager = new Ektron.Cms.Framework.Content.ContentManager(); Ektron.Cms.Content.ContentTaxonomyCriteria ctCriteria = new Ektron.Cms.Content.ContentTaxonomyCriteria(); ctCriteria.AddFilter(1707, true); // hard

Can I customise the post back message in ektron html form with the message returned from my dXh connector

a 夏天 提交于 2019-12-22 22:46:52
问题 In my ektron application I have created an html form which is mapped to dXh. Can I customise the post back message in my html form with the message which is returned from my dXh connector? Am I able to do it or not? 回答1: I doubt you'll be able to. Data sent to the DXH from form submissions is done asynchronously so as to not cause delays on your site, particularly in case something is going wrong (e.g., someone shut down the DXH server). Because it's asynchronous, the form isn't waiting for a

Why do I receive a Mutator error when modifying an Xml value in Sql

删除回忆录丶 提交于 2019-12-18 09:40:50
问题 I have the following stored procedure: ALTER PROCEDURE [dbo].[UpPro] ( @PN varchar(200), @xml xml, @gVa varchar(10), ) AS /* update the gender */ BEGIN SET NOCOUNT ON; Select @gVa = t1.[Gender] From [myDb].[dbo].[myTable1] t1 --replace Value2 and table to the table which is updated through SSIS Where t1.Name = @PN PRINT @gVa //displays 'F' Set @xml.modify('replace value of (/root/Phys/gender/text())[1] with sql:variable("@gVa")'); END /* once all the node has been "temporarily" changed,