The board has been upgrade to the latest version. Please let me know of any problems.
Also, there is a high probability that the forum will move to a different host, but that will happen in 2018.
Thanks, Doug

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

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: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.

Post Reply