Help displaying Full Title in CATraxx standard templates

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

Re: Help displaying Full Title in CATraxx standard templates

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

Post Reply