change stream link on current schedule block

Events happening in the community are now at Drupal community events on www.drupal.org.
michel3's picture

hi everybody, first of all i want to thanks abount this great module! it's amazing!

i just upgrated to version 5.20 and i'm very happy, but the only problem is that also if a change the web stream url in in the new schedule node it doesn't change, so the url remains the url of the site: check out my site: www.sanbaradio.it>red column>"on air" block>"sanbaradio stream" is the stream that i have associated to the schedule node "palinsesto" but, even if it change the name of the link, it doesn't change the link and it links to the main url of the site!

during the installation of the module there was an error an "unexpected "&" on line 874 of the station_schedule.module" so i find it and delete it to finish the installation of the module.

now it is :

function station_schedule_unserialize_streams($schedule_nid, $serialized_streams = NULL) {
if (isset($serialized_streams) && $streams = unserialize($serialized_streams)) {
if (is_array($streams)) {
foreach ($streams as $key => $stream) {
// Add in the M3U URL.
$stream['m3u_url'] = url('node/'. $schedule_nid .'/'. $key .'.m3u', NULL, NULL, TRUE);
}
return $streams;
}
}
return array();

second question: how can i change the layout of the scheduler to make it more "beautiful", in fact i have some program very short (15 minutes) and they don't result in godd manner in the week scheduler view: watch out: http://www.sanbaradio.it/content/palinsesto

thank you for the support!

Comments

ah yeah that's a php5 idiom

drewish's picture

ah yeah that's a php5 idiom so if you're using php4 it would probably cause an error.

as for theming the schedule the best place to discuss that is the module's issue queue: http://drupal.org/project/issues/station there's already a couple relevant issues.

thank you

michel3's picture

thank you! yeah, i found it at last, for trimming the schedule there is a hope fot that? :-)

Radio

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: