-
How do I fix this mess?
As you can see on my web site (rec.mlinusson.com) the "Browse by artist [name]" table is just a mess. I'd like the names displayed in three columns instead, but I don't know how to tweak the template to do that. Is that possible at all or do I have to fix that manually?
I use an altered version of the aluminium template.
-
Re: How do I fix this mess?
You should be able to do that with some creative javascripting in the template editor (DAXEXIT.EXE).
The section to look for under the Start Page tab is:
<!--[Group(title,overview)]-->
<!--[GroupPageLink]--><!--[GroupField]-->????<!--[/GroupField]--><!--[/GroupPageLink]-->
<!--[/Group]-->
You need to pass these parameters to a javascript and then have the javascript create the HTML output in three columns.
-
Re: How do I fix this mess?
So I just got myself a reason to check out the book about javascript that I bought a while ago...
I guess I'll get back to this if I can't figure it out by myself.
Thanks for your help.
-
Re: How do I fix this mess?
You'll probably also have to pass <!--[GroupCount/]--> from the
<!--[Group(ArtistSort)]-->
<!--[GroupCount/]-->;
<!--[/Group]-->
section to yout javascript function in order to get the total number of groups/artists in your collection. You'll need that to determine the length of each column.
I may have a go at this, but right now I'm too busy. Will let you know. If I do get around to it, I will add it as an option to my modified CMI template ([url]http://ocd.juventas.net[/url])
Good luck!
-
Re: How do I fix this mess?
I really appreciate your help! I'll give it a try myself, but since I don't know how javascripts work yet, I'm not very hopeful that I can manage it.
Btw, I'm using a modified version of your version of the crisp theme (among other things I removed the play-buttons, since I don't use OCD for mp3's). I really love it, so I want to thank you for letting others use it.
-
Re: How do I fix this mess?
I've created a function to sort the artists in three columns. And it seems to work fine, except one minor detail:
For some odd reason the first entry in each column loses its hover properties (no highlighting, no underlining and no pointer hand). The entries are actually still hyperlinks, it just doesn't show.
Until I've resolved this minor issue, I will not be releasing an update of the CMI_Play template at [url]http://ocd.juventas.net[/url]. But if anyone is interested in testing this preliminary version, let me know and I'll send you a copy.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules