Page 1 of 1

EnhancedXSPF-0.4 released

Posted: Wed Feb 07, 2007 2:03 am
by Dee
0.4 fixes the playlist not working correctly with CMS Made Simple 1.0.2 and 1.0.3 in previous module versions.

There is no need to upgrade from 0.3 when using cmsmadesimple-1.0.4.


Changes:
- Fixed playlist.xml.php not working correctly on CMSMS versions prior to 1.0.4.

Download EnhancedXSPF-0.4 here (or install using ModuleManager).

Re: EnhancedXSPF-0.4 released

Posted: Thu Feb 22, 2007 4:53 pm
by Russ
Whilst EnhancedXSPF is a very nice plugin it does not seem to produce valid XHTML?
You can change the default template to the attached one (rename it to 'default.tpl') which seems to work for me - let me know how you get on.
Russ






[gelöscht durch Administrator]

Re: EnhancedXSPF-0.4 released

Posted: Thu Feb 22, 2007 5:57 pm
by Russ
I have it working on my local server, but on a hosted one with the same files etc. I get:

Code: Select all

Catchable fatal error: Object of class stdClass could not be converted to string in /.../templates_c/EnhancedXSPF^%%79^79D^79D5F9A3%%module_file_tpl%3AEnhancedXSPF%3Badmin_playlists.tpl.php on line 81
When trying to add songs to a play list. Any ideas?

Russ

Re: EnhancedXSPF-0.4 released

Posted: Fri Feb 23, 2007 9:36 pm
by Dee
This error occurs when you save the playlist after adding songs, or when you create a new playlist and add the songs (in "step 2")?
What does line 81 of the cached admin_playlists template read?
Over here it only contains a ) - which is the closing brace for the help_drag_drop language string "(use drag and drop to add/remove songs and define the song order)"...

Regards,
D

Re: EnhancedXSPF-0.4 released

Posted: Fri Feb 23, 2007 9:43 pm
by Dee
Russ wrote: You can change the default template to the attached one (rename it to 'default.tpl') which seems to work for me - let me know how you get on.
Russ
In SVN I changed the &'s in the links to & so now it produces valid XHTML.

Is there a benefit in using a different for IE?
The code used was taken from the example code and seems to work fine on IE.

Thanks for the patch,
Regards,
D

Re: EnhancedXSPF-0.4 released

Posted: Sat Feb 24, 2007 10:26 am
by Russ
Thanks, Dick, I've sent the file and a reply via private email reference the error.

As for the object stuff I pulled it from here:
http://www.dgx.cz/trine/item/how-to-correctly-insert-a-flash-into-xhtml
and here
http://www.alistapart.com/articles/flashsatay/

And it seems quite similiar to the solutions for the revised media plugin for TinyMCE.

No other reason apart from that.

Russ

Re: EnhancedXSPF-0.4 released

Posted: Sun Mar 04, 2007 4:51 am
by StoneCut
Many thanks for this great module !

Would it be possible to add an option for an external mp3/media link additionally to the files uploaded via the Uploads module ? I have some music hosted on another server that I would like to stream.

Also, how does the color skinning work ? I tried all sorts of values but I cannot get any dark shades for the life of me, hehe.

EDIT:
The playlist doesn't seem to work right. As soon as I create a playlist, I break enhanced XSPF and can no longer access the module in admin area (errors). I have to uninstall EXSPF and reinstall it from scratch to restore module functionality. Right now I have to acess songs directly by ID.

Using CMSMS 1.04

Re: EnhancedXSPF-0.4 released

Posted: Mon Mar 05, 2007 12:25 pm
by Dee
Hi,
StoneCut wrote: Many thanks for this great module !
Thank you for trying/using it!  ;D
StoneCut wrote: Would it be possible to add an option for an external mp3/media link additionally to the files uploaded via the Uploads module ? I have some music hosted on another server that I would like to stream.
The module was written for a website I'm building for a friend musician. Personally I'm not very happy with the way it's attached to Uploads at the moment, but it was the easiest way for me to manage file uploads.
I'll add a Feature Request as a reminder, but I'm afraid I won't find the time to add this feature in the next few months.
StoneCut wrote: Also, how does the color skinning work ? I tried all sorts of values but I cannot get any dark shades for the life of me, hehe.
No idea how it's supposed to work, it was in the documentation for the player so I pass the parameter directly to the player when it's used. I struggled with it for a while, but it wasn't working as expected for me either (actually that's the reason I didn't make it editable from the module preferences).
StoneCut wrote: EDIT:
The playlist doesn't seem to work right. As soon as I create a playlist, I break enhanced XSPF and can no longer access the module in admin area (errors). I have to uninstall EXSPF and reinstall it from scratch to restore module functionality. Right now I have to acess songs directly by ID.
To solve the issues Russ was experiencing I made this change to SVN:

In templates/admin_playlists.tpl (line 40) change

Code: Select all

{counter name=playlist_$playlist_rows[row]->Id}
to

Code: Select all

{counter name=playlist_`$playlist_rows[row]->Id`}
(or use the latest version from SVN)
If that doesn't fix it for you, let me know what errors you're getting.

Regards,
D

!

Posted: Mon Mar 05, 2007 4:19 pm
by StoneCut
Yes, that appears to fix it perfectly. Many thanks for the fast and very helpful response ! This is an awesome CMS system and community.