ArtistPerson with Discography [Templates from the past]

Discuss the powerful Explorer Templates used in the CAT programs
Post Reply
User avatar
LotsOCds
Posts: 177
Joined: Thu Aug 20, 2015 4:23 am
Location: California, USA

ArtistPerson with Discography [Templates from the past]

Post by LotsOCds » Sun Apr 09, 2017 12:22 am

Here's another oldie-but-goodie. I posted the first version of this code way back in February 2007. CATraxx was at version 7 then. The template posted below works with the latest version 9.48.

Sample database - Kristin Hersh discography
ArtistPerson Discography.png
ArtistPerson Discography.png (21.18 KiB) Viewed 638 times
Download template
Cheers,
Dave

User avatar
DougWilliams
Site Admin
Posts: 241
Joined: Thu May 22, 2014 11:36 am
Location: Wisconsin, USA
Contact:

Re: ArtistPerson with Discography [Templates from the past]

Post by DougWilliams » Sun Apr 09, 2017 1:15 am

Thanks Dave!
Record Collector
"You Mean I'm Supposed To Listen To 'Em?!?!?!?"

djrestlessmind
Posts: 7
Joined: Fri Sep 04, 2015 2:31 am

Re: ArtistPerson with Discography [Templates from the past]

Post by djrestlessmind » Mon Apr 10, 2017 4:44 pm

Thank you!!!

User avatar
wolf
Posts: 6
Joined: Tue Sep 22, 2015 8:13 pm

Re: ArtistPerson with Discography [Templates from the past]

Post by wolf » Sun Apr 23, 2017 11:03 pm

Hi Dave

many thanks for this Template. But is it possible to change Label to Discography (I use Custom 05)
and Status to Format?

Many thanks in advanced.
Kind regards from Germany

Wolf

User avatar
LotsOCds
Posts: 177
Joined: Thu Aug 20, 2015 4:23 am
Location: California, USA

Re: ArtistPerson with Discography [Templates from the past]

Post by LotsOCds » Mon Apr 24, 2017 4:00 am

wolf wrote:many thanks for this Template. But is it possible to change Label to Discography (I use Custom 05)
and Status to Format?.
Wolf, yes it can be done.

Open the ArtistPerson.xsl file that you downloaded from me. Search for "Label". You should find three instances of

Code: Select all

<B>Label</B>
Change each of those to

Code: Select all

<B>Discography</B>
Then you will find two instances of

Code: Select all

<xsl:value-of select="label"/>
Change each of those to

Code: Select all

<xsl:value-of select="custom05"/>
Next search for "Status". You should find two instances of

Code: Select all

<B>Status</B>
Change each of those to

Code: Select all

<B>Format</B>
Then you will find one instance of

Code: Select all

<xsl:value-of select="status"/>
Change that to

Code: Select all

<xsl:value-of select="format"/>
Cheers,
Dave

User avatar
wolf
Posts: 6
Joined: Tue Sep 22, 2015 8:13 pm

Re: ArtistPerson with Discography [Templates from the past]

Post by wolf » Tue Apr 25, 2017 2:05 pm

Hi Dave

excellent and easy, many thank's I have what I want. :D
Kind regards from Germany

Wolf

Post Reply