Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

workign with audio files / mp3


Reply

24 Posts   3101 Views

Avatar
UncleCheese

8 September 2010 at 11:39am 4085 Posts

I had one other person report this issue, and he said a fresh install fixed it. But we never figured out what the cause was.. weird. As a quick fix, you can probably change DataObjectManager::PopupWidth() to just

return "640";

Avatar
CHD

8 September 2010 at 11:43am Community Member, 218 Posts

thanks for getting back to me.
i just changed the width in the css.

im getting this error now on "page 2" of one of my albums:
Error: Uncaught Exception: Object->__call(): the method 'loaduploaded' does not exist on 'Image'
At line 724 in /home/vhosts/silentrepublic.com/httpdocs/sapphire/core/Object.php

any ideas??
also, another album now says:
That page is secured. Enter your credentials below and we will send you right along.

why would it be secured??

these problems are strange, considering its a fairly clean install of SS. i havent messed around with too much!

Avatar
CHD

8 September 2010 at 11:45am Community Member, 218 Posts

sorry UC ignore that message about the album issues!
remembered im still using Gallery 0.3, not your image_gallery! silly me.

Avatar
Andrew Houle

9 September 2010 at 11:44pm Community Member, 132 Posts

I had a similar issue with the rel attribute being blank for the popup width of the dataobject manager. Upgrading the php version on the server from 5.1.x to 5.2.x fixed the issue for me.

Avatar
CHD

9 September 2010 at 11:47pm Community Member, 218 Posts

hmmm ive been wanting to upgrade my php for a while, but i use Plesk on my server, which i think will auto update the php at some point.
i read somewhere if i do it manually then it will kill the auto update from working any more?!

i dont know how to even update the php :(

Avatar
CHD

10 September 2010 at 12:43am Community Member, 218 Posts

SO, UC (or anybody else!) any ideas how i can get my files to play in a single mp3 player with a playlist?
i dont really want lots of individual players on the page...

Avatar
UncleCheese

10 September 2010 at 1:12am 4085 Posts

There are millions of those "jukebox" players out there. They're all Flash based. You can pretty much take your pick of what you want. I think most of them are fed by XML.

Avatar
CHD

10 September 2010 at 1:26am Community Member, 218 Posts

yeah im fine with the actual players really.. but im not sure how to setup the feed correctly?
ive never used an XML before... how do i get the files from the CMS into the player? (silly question i know)

i can see your version uses:

'MP3Link' => Director::absoluteURL($this->URL),

but how would i turn that into something like:
'MP3Link' => Director::absoluteURL(PLAY ALL!),