Closed (fixed)
Project:
Station
Version:
4.7.x-1.x-dev
Component:
Code - Schedule
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2006 at 20:04 UTC
Updated:
9 Oct 2006 at 20:44 UTC
Greetings,
All the shows on my station have their own logos/splash images, and I would like to display that image instead of text. Perhaps its not really a feature as much as it would be a tweak. But I thought I'd mention it here.
Thanks
Anthony
Comments
Comment #1
drewish commentednot sure i follow what you want. maybe you could make up a fake screen shot? how about a link to your site...
Comment #2
anthon1 commentedSure,
If you visit www.mix1079.net or www.q945rocks.com you will see on the upper right header, the current on air program. Its based on the good morning / good afternoon script which runs on a 24 hour loop.
As our shows are different on the weekends, I would like to get rid of that script and simply replace it with your "On Air" block.
But it only shows text right now. So I was wondering if it could be tweaked so that instead of the program name being shown I could put some html code in there such as
.
Comment #3
drewish commentedOkay I've reworked the way the current progam block is built. Now it passes the program, unscheduled message, and webstream links into a theme function. You should be able to write your own theme_station_block_current_program function and display custom output based on the current program.
Comment #4
anthon1 commentedThanks
I really appreciate it. That was fast.
Sincerely
Anthony
Comment #5
(not verified) commentedComment #6
anthon1 commentedI know you closed this issue already, but I just cant get it to work right. Any chance you could show me a code snippet as an example of hour I could use the variables from the "whos on the air" so I can addimages to that block?
Thanks
Anthony
Comment #7
drewish commentedYou'd put something like this into your theme's tempate.php file:
And then modify the part to build a link to the appropriate image for each program. That obviously is the hard part. You could create an image for each program and save it with node id as the filename, something like that.