Page 1 of 1

New user - Need simple DVD list template to print.

Posted: Wed Nov 07, 2007 12:06 pm
by bg_nyc
Hi I am a relatively new user and I purchased dvdpedia to organize my huge DVD collection.

I recently put my collection into binders and numbered the discs to match collection IDs. I am now looking to print the DVD titles and collection id on a small card so i can laminate and place inside of each binder.

Are there any templates of this basic list that already exist? All i want is a very compact list of title, genre, and collection ID that i can print. Thank you!

Posted: Wed Nov 07, 2007 12:59 pm
by Conor
Today we were in the process of looking for some Avery labels to write a small printing template to include with the program but they were all sold out. However you will find the printing to be extremely flexible, so that you could modify one of the existing templates to fit your needs. I think the SmallCovers is the one that would most fit. I have gone ahead and modified it a bit already (removed the header and added the collection ID); [url=dvdpedia://www.bruji.com/download?temp/smallSquares.zip]click here to download it[/url]. It will appear under the printing feature as SmallSquares. It still has a small image, if you are planning on printing in black and white it might be best to remove the image. You will find the installed template in ~/Library/Application Support/DVDpedia/Templates/PrintingSmallSquares.html if you open the file with a text editor you will be able to modify the html to remove the <img ...> section. Also in the CSS you will be able to adjust the width and height of each square (really rectangles). It's a place to get started, if you run into any difficulties let us know and we can lend a hand.

Posted: Wed Nov 07, 2007 2:54 pm
by bg_nyc
Thank you. I will try this tonight.

And thank you for the excellent customer support!

Needing a Simple Printing Template

Posted: Sun Nov 18, 2007 8:09 pm
by dmcginni
I have a DVD collection spanning multiple DJ style cases. Therefore I've created 2 custom fields in DVDPedia one CaseID and the other SleeveID. I like the way the "ListColor" Template looks for printing. I only want to change the Price column with Sleeve Number. I admit I'm not very good with HTML but I try. My collection is getting up in the 500's and it would be nice to print a list for each case with which movies are in which sleeve. Anyway any help would be appreciated.

Posted: Mon Nov 19, 2007 3:52 am
by Nora
Changing tags is the best way (and the easiest) to get acquainted with customizing the HTML and printing templates. To change 'Price' to 'Sleeve ID', you'd have to do the following:
Ctrl-click (or right-click) the DVDpedia icon and choose 'Show package contents' from the contextual menu. Then navigate to Contents/Resources/Templates/PrintingListColor.html
Open the template with any good text editor (if you're using TextEdit make sure it's set to Plain Text and not Rich Text Format).
Look for the line

Code: Select all

 <div class="price" style="width: 8%;"> [translate:price]</div> 
and replace [translate:price] with 'Sleeve ID' (that's just the title of the column).

Now look for the line

Code: Select all

<div class="price" style="width: 8%;"> [key:price]</div>
You want to change the [key:price] tag to [key:custom1] or whichever custom field number you assigned the Sleeve ID to.

Once that's done, save the template in the Templates folder of your DVDpedia data folder - otherwise the template will get overwritten the next time you update DVDpedia. The path is: User/Library/Application Support/DVDpedia/Templates. (If the Templates folder isn't there, just create one.) You might also want to give the template a slightly different name so you remember it's a template you customized, for example PrintingMyListColor.html. (Printing always has to be prefixed to the print templates so that they'll show up in the printing feature.)

Thanks for the help

Posted: Mon Nov 19, 2007 5:11 pm
by dmcginni
Thanks for the quick response. However I think I already fubar'd the template. Every time I open it up in Textedit (first it doesn't open in plain text, so I switch it over Format->Plain Text) then all it displays is:

p.P2 {min-height: 12.0px;}
Updated on [global:dateUpdated]
[global:collectionName] : [global:totalEntries] DVDs, sorted by [global:sortedBy]
 
 [translate:title]
 [translate:director]
 [translate:genre]
 [translate:theatrical]
 [translate:rated]
 [translate:price]
 [key:title]
 [key:director]
 [key:genre]
 [key:theatrical]
 [key:rated]
 [key:price]

With nothing else. I'm not sure if I did something, or if its something I'm doing.

Posted: Tue Nov 20, 2007 3:54 am
by Conor
TextEdit is not great with that. When you switch to plain text it translates what it's currently displaying not the actual content of the file. You have to use the "open" command and check the "ignore rich text" inside the open dialog.