Help displaying Full Title in CATraxx standard templates

Discuss the powerful Explorer Templates used in the CAT programs
djrestlessmind
Posts: 7
Joined: Fri Sep 04, 2015 2:31 am

Re: Help displaying Full Title in CATraxx standard templates

Postby djrestlessmind » Wed Apr 12, 2017 2:57 pm

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.


Return to “Explorer Templates”

Who is online

Users browsing this forum: No registered users and 1 guest