Hi,
I am using Chrono Forms and ChronoConnectivity to display and manage a song listing.
This listing is in a database table and will be managed by manger levels and up. Most of the managers don't know how to use Joomla. They just want a way to edit view and edit the list.
The list includes an mp3 file player (dewplayer plugin). The problem is that the Dewplayer plugin syntax doesn't work in the table which is currently be displayed using EasyTable extension. So as a work around I insert the entire object tag with all the params into the field where I want the mp3 to play in.
Since the managers could easily make mistakes when adding new song/mp3s, I figure CF/CC would be the best solution.
I've already set up the CF form and the CC table view. Now I need to set it so that the manager can upload the new mp3 to a specific folder for all the mp3 files and for the form to append the file name to the object tag and save that to the DB table.
eg: If they upload an MP3 named new_song.mp3 it will got to http://www.mysite.com/songs/mp3s/.
Next the form takes the name of the MP3 file (new_song.mp3) and add it to the object tag codes
Notice it places the URL for the mp3 file in 2 places. The entire object tag codes is to me saved to the DB so the view table will have the full code to show the player and play the file.
I figure that I will need to use PHP to do this. But I would like to know how to and also how to get the mp3 file to upload to that special folder.
Does anyone have any idea how to go about this?
Anything will be well appreciated.
Best regards,
Winchester
I am using Chrono Forms and ChronoConnectivity to display and manage a song listing.
This listing is in a database table and will be managed by manger levels and up. Most of the managers don't know how to use Joomla. They just want a way to edit view and edit the list.
The list includes an mp3 file player (dewplayer plugin). The problem is that the Dewplayer plugin syntax doesn't work in the table which is currently be displayed using EasyTable extension. So as a work around I insert the entire object tag with all the params into the field where I want the mp3 to play in.
Since the managers could easily make mistakes when adding new song/mp3s, I figure CF/CC would be the best solution.
I've already set up the CF form and the CC table view. Now I need to set it so that the manager can upload the new mp3 to a specific folder for all the mp3 files and for the form to append the file name to the object tag and save that to the DB table.
eg: If they upload an MP3 named new_song.mp3 it will got to http://www.mysite.com/songs/mp3s/.
Next the form takes the name of the MP3 file (new_song.mp3) and add it to the object tag codes
<object width="200" height="20" bgcolor="#FFFFFF" data="http://www.mysite.com/plugins/content/dewplayer.swf?son=http://www.mysite.com/songs/mp3s/new_song.mp3&autoplay=0&autoreplay=0&showtime=1" type="application/x-shockwave-flash">
<param value="opaque" name="wmode">
<param value="http://www.mysite.com/plugins/content/dewplayer.swf?son=http://www.mysite.com/songs/mp3s/new_song.mp3&autoplay=0&autoreplay=0&showtime=1" name="movie">
</object>
Notice it places the URL for the mp3 file in 2 places. The entire object tag codes is to me saved to the DB so the view table will have the full code to show the player and play the file.
I figure that I will need to use PHP to do this. But I would like to know how to and also how to get the mp3 file to upload to that special folder.
Does anyone have any idea how to go about this?
Anything will be well appreciated.
Best regards,
Winchester