CDPedia: Dark info view and Mint template

Any trouble you encounter with the Pedias, here's the place to ask for help.
Post Reply
Phregas
Bruji Friend
Bruji Friend
Posts: 11
Joined: Sun Nov 27, 2005 9:29 am

CDPedia: Dark info view and Mint template

Post by Phregas »

Dear Bruji people,
a couple of questions for you regarding the info view templates in CDPedia:

1) is it possible to make the "tracks info" appear in the Dark info view template?
2) Mint template: I like the design but not the colors. I have tried to change them following your instructions. Only partial success. In fact, it seems that there are at least two images which need to be modified (the two green lines in the title bar with the rounded edges). Where are them?

Can you help me?
Thank you.
User avatar
Conor
Top Dog
Posts: 5346
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: CDPedia: Dark info view and Mint template

Post by Conor »

For the tracks you would need something like this in the template:

Code: Select all

<!--IFtracks
<div class="tracks">
<ul>
[tracksBegin]<li>[track:artist]
[track:name][track:duration][durationSeparation: (*)]</li>
[tracksEnd]
</ul>
</div>
ENDtracks-->
And the following for the CSS at the top:

Code: Select all

.tracks {
	background-color: #9FAEC8;
	float: right;
	clear: right;
	width: 100%;
	border: thin solid #999999;
	margin: 5px 0px 0px 10px;
	padding: 5px 5px 5px 0px;
}
.tracks ul{margin:0px 0px 0px -35px; list-style-type: none; white-space:nowrap;
overflow:hidden; width: 98%;}
The mint template I believe has no images, apart from the little plus sign and the return a borrowed CD button (I think the colors come from the CSS, look for "#bce27f", "#95ba65", "#7BB0FA", "#D3FE90" and "#a1a5a9"). However if there are images they would be in inside the program at CDpedia.app/Contents/Resources/WebViewFiles/images. It's best to rename and move any modified templates to ~/Library/Application Support/CDpedia/InfoTemplates/MyMint.html so that you can upgrade the program without deleting your template (if images are needed copy the images folder into the same folder).
Post Reply