ektron

Convert HTML to XML according to the XSLT

限于喜欢 提交于 2019-12-13 02:38:02
问题 I am looking for solution where I can convert a html into xml based on an xslt. For example: html:[this is a html from ektron(a CMS)] <p>Name: <input type="text" name="txtName" id="txtName" ektdesignns_caption="txtName" ektdesignns_name="txtName" title="txtName" ektdesignns_indexed="false" ektdesignns_nodetype="element" style="" size="24" class="design_textfield" value="Enter Name" />  </p> <p>Age:<input type="text" name="txtAge" id="txtAge" ektdesignns_caption="txtAge" ektdesignns_name=

Customize Ektron HTML Form Email Layout

白昼怎懂夜的黑 提交于 2019-12-13 01:25:54
问题 I would like to know if there's a way to customize the email HTML body contents when submitting an Ektron HTML form. For example, a form is submitted and the form data is emailed to john@doe.gov. Upon opening the email, there is a table containing the data from the submitted form. I want to know if there's a way to modify the HTML table which was generated for that email. My goal is to experiment with some CSS to force word-wrapping in the table so lengthy textarea-input data will be wrapped

Insert My .NET Control In Template

六眼飞鱼酱① 提交于 2019-12-12 03:42:51
问题 I am new to ASP.NET. As a follow up question from THIS POST I have the following .Net Control in Ektron that I would like to display in my webpage template. Control: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="Gallery.ascx.cs" Inherits="Source_Controls_Alumni_Gallery" %> <asp:ListView ID="uxPhotoGallery" runat="server" ItemPlaceholderID="itemPlaceholder"> <LayoutTemplate> <ul> <asp:PlaceHolder ID="itemPlaceholder" runat="server" /> </ul> </LayoutTemplate> <ItemTemplate> <li> <%

Unable to use Ektron Framework API from class library

醉酒当歌 提交于 2019-12-12 01:52:27
问题 Using Ektron v8.02 , I've created a simple class library that makes use of the Ektron.Cms.Framework.Core.Content namespace. I've added a console app to the solution to help with testing; to the console app I added a project reference to the original class library and an App.Config file with the appropriate Ektron.DbConnection connection string pointing to our dev Ektron database. Briefly, here is the code in question: Console app for testing static void Main(string[] args) { MyClass instance

Creating new smartform data using Ektron ContentTypes

邮差的信 提交于 2019-12-11 10:57:11
问题 Ektron 8.0.1 SP1 I am using SmartForms and Content Types to read (and hopefully write) data. I can read data but now I am attempting to write a new record similar to the following. ContentTypeManager<member> contentTypeManager = new ContentTypeManager<member>(); ContentType<member> newmem = new ContentType<member>(); newmem.SmartForm.details.field1 = "Chuck"; // This line throws 'Object reference not set to an instance of an object.' error newmem.SmartForm.details.field2 = "Norris";

Load Ektron widget by ID?

白昼怎懂夜的黑 提交于 2019-12-11 09:37:48
问题 I am looking for some help with an Ektron problem. The scenario is that we have a number of widgets which sit on a number of pages. These widgets all take user input. As the user moves through the pages filling out the form we save their field responses into a session state object, these get written to a database later. When the user gets to the end of the form we want to display all the widgets that they have filled out in a read-only mode. This will act as a summary page. We can easily set

How to hide a DIV if content are missing

微笑、不失礼 提交于 2019-12-11 09:14:04
问题 I have some DIV which has contents that are auto generated by Ektron CMS. Screenshot of the source: Output: Each parent DIV ( {letter}Serv ) is empty if the DIV class justPad doesn't appear at least once. So based on the screenshots, A and C has content but B and D doesn't. How can I hide the {letter}Serv DIV if there is no content inside it? I have the following class that I can apply: .hideDiv { display: none; } Sample code: <div id="nServ" class="serviceHolder hidOverflow percPadBottom

what is the best online site to post questions on Ektron?

戏子无情 提交于 2019-12-10 21:09:42
问题 I am trying to do a new project in Ektron with Dotnet. I see that there are quite a less questions posted and the responses for them in stackoverflow. What would be the best site to get my doubts cleared when doing the development using Ektron. Thanks. 回答1: Here at stackoverflow and https://developer.ektron.com/Forums/ are the best resources I have found. 回答2: (Agree with zkent, but with an additional recommendation) Post to either the Ektron Dev Center (dev.ektron.com) or stackoverflow, then

Is there a way to get a data dump from Ektron

帅比萌擦擦* 提交于 2019-12-08 06:24:42
问题 I need a way to get all of the data out of an Ektron site in any format, that I can use to import it into a new CMS. To my eyes the database is completely obfuscated and I'm not finding any good resources. I would be happy for links, tips, videos, angels, magic lamps or companies that will do it on the cheep. Thanks in advance! 回答1: I do Ektron migrations of this nature regularly for my company and the problem with such migrations is that there really is no "standard". Every site has it's

How do display a CMS collection in an ASP.net page using an XSLT file

早过忘川 提交于 2019-12-02 15:42:56
问题 articleDisplayThumb XSLT file (Use the DynamicParameter ID to go through the collection): <?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="col span_1_of_3" style="height: 150px; border: 1px solid black;"> <div class="test2"> <div style="float: left; width: 28% padding-right: 2%; height: 100%;"> {DISPLAY THE IMAGE HERE AND