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 ListEditing Advanced XSL ColumnsEditing Advanced XSL Columns
Previous
 
Next
New Post
8/29/2009 2:34 PM
 

Hi

I have a column that lists prices and is using a £ symbol.

I has an issue where the £ was appearing at the end like this: 55.00£

I got this to display fine when I use the XSLT Generator:

      <td>
        <xsl:value-of select="udt:Cost_UDT_Value" disable-output-escaping="yes" />
      </td>
      <td>
        <xsl:value-of select="udt:Cost" disable-output-escaping="yes" />
      </td>
    </tr>

But I need the sorting and filtering features of the AdvancedTable.xsl and the XSLT Generator deletes all of that code and reduces the table back to a basic one.

If I try to edit the AdvancedTable.xsl manually I can't find any on the column data displaying the way it appears when created by the generator?

At the moment the Cost column is just displaying the £ symbol without the figures visble.

 

How do I edit the column manually in  XSL to display both the £ & the amount together?

Thanks

 
New Post
9/1/2009 7:09 AM
 

The generator in FnL supports all possibilities of the advancedtable script. Did you enable any option inside the generator?

 
New Post
9/1/2009 8:40 AM
 

Hi

 

I'm using UDT 03.05.01, does that make much of diffence?

The options I can see in the Generator are:




But I don't think I need any of these as the table already has some of these functions working.

I can't seem to find the column info in my Advancedtable.xsl ?

The closest I can find are the ChangedAt, ChangedBy etc :

 

<table style="font-size:smaller;width:100%;align:center">

<tr>

<th class="NormalBold UDT_Table_Head" style="font-size:smaller;">
<xsl:value-of select="//udt:Fields[udt:FieldType='ChangedAt']/udt:FieldTitle"/>
:
       
</th>

<td class="Normal" style="font-size:smaller;">
<xsl:value-of select="//udt:Data[udt:UserDefinedRowId=$param_detail]/*[name()=//udt:Fields[udt:FieldType='ChangedAt']/udt:ValueColumn]" disable-output-escaping="yes"/>
</td>

<th class="NormalBold UDT_Table_Head" style="font-size:smaller;">
<xsl:value-of select="//udt:Fields[udt:FieldType='ChangedBy']/udt:FieldTitle"/>
:
       
</th>

<td class="Normal" style="font-size:smaller;">
<xsl:value-of select="//udt:Data[udt:UserDefinedRowId=$param_detail]/*[name()=//udt:Fields[udt:FieldType='ChangedBy']/udt:ValueColumn]" disable-output-escaping="yes"/>
</td>
</tr>

<tr>

<th class="NormalBold UDT_Table_Head" style="font-size:smaller;">
<xsl:value-of select="//udt:Fields[udt:FieldType='CreatedAt']/udt:FieldTitle"/>
:
       
</th>

<td class="Normal" style="font-size:smaller;">
<xsl:value-of select="//udt:Data[udt:UserDefinedRowId=$param_detail]/*[name()=//udt:Fields[udt:FieldType='CreatedAt']/udt:ValueColumn]" disable-output-escaping="yes"/>
</td>

<th class="NormalBold UDT_Table_Head" style="font-size:smaller;">
<xsl:value-of select="//udt:Fields[udt:FieldType='CreatedBy']/udt:FieldTitle"/>
:
       
</th>

 

Is it possible that some of the code is held in another file that can be edited?

 

 
New Post
9/1/2009 10:22 AM
 

No, there is no other code.  All build in Stylesheets must be able to work against any datasource. These scripts look up schema (udt:Fields) first and continue their work based on these data. Therefore scripts like AdvancedTable.xsl are much more complicated then generated code.

I am not able or willing to support changes on these build in stylesheets beside bug fixes; I am sorry.

 
New Post
9/1/2009 10:36 AM
 

That's ok, I guess it'll be quicker/easier to rebuild it from scratch using the generator.

Thanks for your reply.

Tom

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListEditing Advanced XSL ColumnsEditing Advanced XSL 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