Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListAdding  columnsAdding columns
Previous
 
Next
New Post
4/14/2011 9:11 PM
 
I am creating a form that I want to divide into 4 columns.  What I have is:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:udt="DotNetNuke/UserDefinedTable" exclude-result-prefixes="udt">
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes" />
<!--
This prefix is used to generate module specific query strings
Each querystring or form value that starts with udt_{ModuleId}_param 
will be added as parameter starting with param
-->
<xsl:variable name="prefix_param">udt_<xsl:value-of select="//udt:Context/udt:ModuleId" />_param</xsl:variable>
<xsl:param name="param_detail" />
<xsl:template match="udt:Data" mode="detail">
<style type="text/css">
.style2 { font-size: x-large; }
</style>
<xsl:call-template name="ListView" />
<xsl:call-template name="EditLink" />
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="Normal" style="width:80px; border-bottom-style: solid; border-bottom-width: medium">
<img src="{udt:Logo_UDT_Url}" alt="{udt:Team}" width="70px" />
</td>
<td class="Normal" style="border-bottom-style: solid; border-bottom-width: medium">
<span class="style2">
<xsl:value-of select="udt:Team" disable-output-escaping="yes" />
</span> Est. <xsl:value-of select="udt:Established" disable-output-escaping="yes" /></td>
</tr>
<tr>
<td class="normalBold">Conference</td>
<td class="Normal">
<xsl:value-of select="udt:Conference" disable-output-escaping="yes" />
</td>
</tr>
<tr>
<td class="normalBold">Division</td>
<td class="Normal">
<xsl:value-of select="udt:Division" disable-output-escaping="yes" />
</td>
</tr>
<tr>
<td class="normalBold">HomePage</td>
<td class="Normal">
<a href="{udt:HomePage_UDT_Url}">
<xsl:value-of select="udt:HomePage" disable-output-escaping="yes" />
</a>
</td>
</tr>
<tr>
<td class="normalBold">Owner</td>
<td class="Normal">
<xsl:value-of select="udt:Owner" disable-output-escaping="yes" />
</td>
</tr>
<tr>
<td class="normalBold">City</td>
<td class="Normal">
<xsl:value-of select="udt:City" disable-output-escaping="yes" />
</td>
</tr>
<tr>
<td class="normalBold" colspan="2">
<br />
</td>
</tr>
<tr>
<td colspan="2" class="Normal">
<xsl:value-of select="udt:Content" disable-output-escaping="yes" />
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="udt:Data" mode="list">
<td>
<xsl:call-template name="EditLink" />
<xsl:call-template name="DetailView" />
</td>
</xsl:template>

<xsl:template match="/udt:UserDefinedTable">
<xsl:choose>
<xsl:when test="$param_detail">
<!--master-detail view-->
<xsl:apply-templates select="udt:Data[udt:UserDefinedRowId=$param_detail]" mode="detail" />
</xsl:when>
<xsl:otherwise>
<xsl:variable name="currentData" select="udt:Data" />
<xsl:if test="$currentData">
<table>
<xsl:apply-templates select="$currentData" mode="list">
</xsl:apply-templates>
</table>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="EditLink">
<xsl:if test="udt:EditLink">
<a href="{udt:EditLink}">
<img border="0" alt="edit" src="{//udt:Context/udt:ApplicationPath}/images/edit.gif" />
</a>
</xsl:if>
</xsl:template>
<xsl:template name="ListView">
<a href="{//udt:Context/udt:ApplicationPath}/tabid/{//udt:Context/udt:TabId}/Default.aspx">
<b>« Back to Team List</b>
</a>
</xsl:template>
<xsl:template name="DetailView">
<a href="?{$prefix_param}_detail={udt:UserDefinedRowId}">
<img src="{udt:Logo_UDT_Url}" alt="{udt:Team}" width="20px" />
</a>
</xsl:template>
</xsl:stylesheet>

What I have highlighted is what i want to put in columns.  How it is set up now is everything is in a one row.  How do I make it 4 columns with multiple rows?

www.nflmadness.com
 
New Post
4/19/2011 3:51 AM
 
Anyone know?

www.nflmadness.com
 
New Post
4/24/2011 2:59 PM
 
Can someone help please?

www.nflmadness.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListAdding  columnsAdding columns


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out