|
Welcome, Guest. Please Login or Register. Jan 5th, 2009, 9:07pm
Author |
Topic: CMI play template (Read 1370 times) |
|
thijs077
Junior Member
 
Posts: 14
|
 |
CMI play template
on: Aug 21st, 2005, 12:33pm |
Quote | Modify
|
I'm using this template and again it doesn't show if its a live recording or not. The <!--[if($SHOW_LIVE)]--> isn't even there in the template So I put the entries from my other posts and put it in. It works, but I can't get the color the same as the others, like genre. Please help me.
|
|
IP Logged |
|
|
|
pheisholt
Senior Member
   
WWW | Email
Posts: 309
|
 |
Re: CMI play template
Reply #1 on: Aug 23rd, 2005, 9:46pm |
Quote | Modify
|
You're so right. Several of the parameters listed in the 'Declarations' section are missing in the 'Start | Group | Album | Track' sections. I will update the template as soon as I have time.
|
|
IP Logged |
- paul -
|
|
|
thijs077
Junior Member
 
Posts: 14
|
 |
Re: CMI play template
Reply #2 on: Sep 11th, 2005, 8:13am |
Quote | Modify
|
Another problem the year in the right top corner is wrong. It says 105 instead of 2005. How can I fix this?
|
|
IP Logged |
|
|
|
pheisholt
Senior Member
   
WWW | Email
Posts: 309
|
 |
Re: CMI play template
Reply #3 on: Sep 14th, 2005, 4:02am |
Quote | Modify
|
Are you referring to the date in the top LEFT corner? In that case the date is determined by the 'getTimeDate(now)' function, which stores the current date in the 'nowDate' variable.
|
|
IP Logged |
- paul -
|
|
|
thijs077
Junior Member
 
Posts: 14
|
 |
Re: CMI play template
Reply #4 on: Sep 15th, 2005, 4:55am |
Quote | Modify
|
Yeah, I meant the date in the left corner, so there's nothing I can do about it.
|
|
IP Logged |
|
|
|
pheisholt
Senior Member
   
WWW | Email
Posts: 309
|
 |
Re: CMI play template
Reply #5 on: Sep 15th, 2005, 3:19pm |
Quote | Modify
|
If you send me your template, I can take a look at it. It may have something to do with the date format used in your country/on your computer.
|
|
IP Logged |
- paul -
|
|
|
pheisholt
Senior Member
   
WWW | Email
Posts: 309
|
 |
Re: CMI play template
Reply #6 on: Sep 21st, 2005, 8:33am |
Quote | Modify
|
Quote: I have to tell you a funny thing. I don't use explorer, I use firefox and my friends also. I was checking for the source code in explorer and the date is right. The text is also smaller when I open the page with explorer. So I guess the template is not for firefox. | OK – I found a solution. Firefox obviously has a problem with Y2K, somehow. So this is what you can to. Open the template in DaxEdit, and replace the following line: var year = now.getYear().toString(); with this: if(now.getYear() < 1900) { // Correct year if browser has Y2K display problem var year = (now.getYear() + 1900).toString() } else { var year = now.getYear().toString(); } That should do the trick. Now it will work with Firefox and with IE.
|
|
IP Logged |
- paul -
|
|
|
Scott Ventura
Guest
Email
|
Firefox treats the year the same way as perl. Other sites recommend getFullYear instead of getYear, which will probably work equally well in both browsers.
|
|
IP Logged |
|
|
|
pheisholt
Senior Member
   
WWW | Email
Posts: 309
|
 |
Re: CMI play template
Reply #8 on: Nov 8th, 2005, 5:53am |
Quote | Modify
|
Thanks. getFullYear() seems to work fine.
|
|
IP Logged |
- paul -
|
|
|
|