PDA

View Full Version : credits (2 pheisholt)



JohnsonbI4
10-19-2006, 09:19 AM
I tried new crisp theme for v.6. The thing i liked is:
In default theme it goes:

CREDITS
Producer: John
Producer: George
Producer: Paul
Producer: Ringo

In crisp theme it looks like:
Producer: John, George, Paul, Ringo

which i like better. But is is possible to make it this way:

Producer:
John ( Track 1 )
George ( Tracks 2-5 )
Paul ( Track 7-8 )
Ringo ( Track 9 )

???

Balok
10-19-2006, 04:33 PM
I don't see any way to do what you want with the <dax> tags currently available. It could be done with a pair of Javascript functions, but they might be slow, especially on older computers.

andrei_c
10-19-2006, 06:34 PM
I'll make this change for the next update. It's simple change, no need to code this in javascript (which would be pretty hard anyway).

Andrei

JohnsonbI4
10-20-2006, 12:19 AM
Pheisholt seems to be a bit slow. I asked him because I see he's deep into templates, and I just didn't want to distract Andrei from his main job.

Another question:

How to make 2 columns for recently added/played/reviewed albums on start page? I tried to think of something but the only thing I got was a table with two identical columns...

pheisholt
10-20-2006, 04:34 AM
Hi
I'm afraid I have nothing further to add. As Balok and Andrei have pointed out this would require javascripting, and may end up a mess.

Creating two columns also requires a javascript, which has to loop through the entries and start a new column when it hits the 5th of 10 entries (if thats the number of entries you hav set OCD to display)

It can be done. I've done something similar previously. Look in the forum for postings on 'LP mode'. That should give you an idea of what you need to do.

JohnsonbI4
10-20-2006, 05:37 AM
i found the topic about lp listing, but - sorry, that didn't give me any hint. it deals with separators in track listing but not columns...

pheisholt
10-20-2006, 12:07 PM
It's really more or less the same. You create columns using regular HTML-elements (TABLE, TR and TD). The tricky part is to fill them with data in a correct way.

As you pointed out yourself, what you got was two identical columns, simply because the dax-tags can't be used to determine when or how to

JohnsonbI4
10-23-2006, 03:50 AM
thanks, i'll try to do something with it

JohnsonbI4
11-16-2006, 12:40 AM
one more thing - more complicated (i'm too deep into themes