Page 2 of 2

Re: Help displaying Full Title in CATraxx standard templates

Posted: Wed Apr 12, 2017 2:57 pm
by djrestlessmind
LotsOCds wrote:The problem is in the context of line 201 where you changed "title" to "fulltitle".

Code: Select all

    <xsl:choose>
      <xsl:when test="//data/recordset/sortorder/sortorderitem[1]/field/@dbfld='Title'">
        <a href="Track.xsl?ID={../@id}"><xsl:value-of select="titlesort"/></a>
      </xsl:when>
      <xsl:otherwise>
        <a href="Track.xsl?ID={../@id}"><xsl:value-of select="fulltitle"/></a>
      </xsl:otherwise>
    </xsl:choose>     

What is being displayed is the "titlesort" value. That is because the track list is initially sorted on the Title. If you click on the Artist column header to resort the list you should then see the "fulltitle" values in the Title column.

Change "titlesort" to "fulltitle" in line 198 and you should get the "fulltitle" all the time.

Hope that helps.


This worked beautifully! Thank you! And thank you to everyone who replied.