Before the end of 2017 the board will be down for a brief period of time for an upgrade.
Past experience says less than 30 minutes but I can't predict the future.
Also, there is a high probability that the forum will move to a different host, but that will not happen in 2017.
Thanks,
Doug

CoverGallery [Templates from the past]

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

CoverGallery [Templates from the past]

Postby LotsOCds » Mon Sep 07, 2015 10:43 pm

Hi Folks,

Occasionally, when time permits, I'll post some of the more popular and interesting templates I developed over the years. Many were posted on the old forum but there may be a new one or two not posted before.

The first one, CoverGallery.xsl, is almost ten years old. It works with all the CAT programs. Other than some cosmetic edits, the original code runs the same today as when I first wrote it. There is a Help file that will explain how to configure the template specific to your database.

CoverGallery.xsl displays a page full of cover images chosen at "random" from your database. It's a fun way to view your covers. When I need a little inspiration I use it to choose an album to listen to (yes Doug I do listen to them), I also use it just because I enjoy the visual presentation.

CoverGallery_sized.png
CoverGallery_sized.png (248.76 KiB) Viewed 1088 times
Attachments
CoverGallery_v1.41.zip
(178.69 KiB) Downloaded 118 times
Cheers,
Dave

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

Re: CoverGallery [Templates from the past]

Postby DougWilliams » Tue Sep 08, 2015 12:24 pm

Thanks Dave.
Copied the CoverGallery.xsl file to my templates folder, inserted the hyperlink as directed and I receive an error upon first opening:
ERROR: Could not parse template: CoverGallery.xsl
E:\CATraxx\Explorer Templates Doug\CoverGallery.xsl:8:
parser
error :
Comment not terminated

It never gets to the setup page.
What should I look for?
Record Collector
"You Mean I'm Supposed To Listen To 'Em?!?!?!?"

User avatar
Rene
Posts: 14
Joined: Sun Aug 23, 2015 4:15 pm
Location: Netherlands

Re: CoverGallery [Templates from the past]

Postby Rene » Tue Sep 08, 2015 12:59 pm

That's a very nice new functionality.
Thanks!

Rene

Doug: it went straight into the setup page. You can select 'setup' in the right corner at any time.

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

Re: CoverGallery [Templates from the past]

Postby LotsOCds » Tue Sep 08, 2015 2:38 pm

Hi Doug,

From the error message it looks like the file may have been corrupted, however I just downloaded it and verified that it is okay.

The error is indicating a problem around line 8 which is of course right at the top of the file and it is in fact the start of a comment. The first 12 lines should look like:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<?data type="list"?>
<?data table="album"?>
<?data table="video"?>
<?data table="book"?>
<?data table="stamp"?>
<?data table="program"?>
<!--
================================================================================
THE RECORDSPAGE SETTING MAY BE CHANGED TO CONFIGURE THE GALLERY DISPLAY   
==============================================================================-->
<?data recordspage="1"?>  <!-- Set to 1 to automatically enter the setup screen -->

If it's not obvious when looking at the top of the file you could try a fresh copy from the zip or maybe you could email me the file from your template directory and I'll take a look.
Cheers,
Dave

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

Re: CoverGallery [Templates from the past]

Postby DougWilliams » Tue Sep 08, 2015 5:44 pm

I ran it on another PC and it worked fine.
I'll re-try my other PC tonight.. wife willing...
..(yes Doug I do listen to them)..
'tis a strange thing to do with them... ;)
Record Collector
"You Mean I'm Supposed To Listen To 'Em?!?!?!?"

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

Re: CoverGallery [Templates from the past]

Postby DougWilliams » Wed Sep 09, 2015 1:58 am

Don't know what it was. The header looked just like you posted.
I re-downloaded and copied and... SUCCESS!

Now I can look at all my pretty covers...
Yeah... <snort> listen to 'em... <guffaw>
Thanks Dave!
Record Collector
"You Mean I'm Supposed To Listen To 'Em?!?!?!?"

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

Re: CoverGallery [Templates from the past]

Postby LotsOCds » Wed Sep 09, 2015 7:27 am

Glad to hear it is all working!
Cheers,
Dave

User avatar
winni
Posts: 2
Joined: Sun Jul 24, 2016 10:11 am
Location: Germany

Re: CoverGallery [Templates from the past]

Postby winni » Sun Jul 24, 2016 10:41 am

Hallo there all you Traxxers :)
First of all i wanna say a big THX for this template, as it looks great and gives an outstanding cover-overview.
I have set the recordspage to -1 and the rows to 8x12, so my screen is filled up with 96 covers. It takes ca. 6 sec. to load, i have a newly build PC and i think the performance is good.
Now a little problem occurs: I have 6 albums named "Geatest Hits" from 6 different artists, but whatever cover i click it only shows one album page, to be exact the album with the lowest ID-number. In other words i cannot access the other 5 albums with the same name, but higher ID-numbers through the CoverGallery.

Thanks in advance for your support Regards Winni

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

Re: CoverGallery [Templates from the past]

Postby LotsOCds » Fri Aug 12, 2016 4:05 am

Hi winnie,

Nice to see you again! Sorry for the delay in answering. I've been on vacation and haven't checked the forum in a while. What you reported is unexpected behavior but the template attached here should work properly for you. Let me know if you see any problems with it.

CoverGallery_v1.42.zip
(178.7 KiB) Downloaded 50 times
Cheers,
Dave

User avatar
winni
Posts: 2
Joined: Sun Jul 24, 2016 10:11 am
Location: Germany

Re: CoverGallery [Templates from the past]

Postby winni » Fri Aug 12, 2016 5:36 pm

Hallo Dave,
thank you so much for support, you are a real wizard, the problem with the equal albumnames is solved!

Best wishes
Winni

Image


Return to “Explorer Templates”

Who is online

Users browsing this forum: No registered users and 1 guest