View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Aug 19, 2005 9:08 pm 
Offline
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
HI All,

I hate to make another suggestion without being able to provide the code for it. This time I have the code I just don't know which portion gives us what I'm talking about. I apologize in advance, and can try pasting in what I think is the relevant section if someone can interpret it for me.

As an edit to MythWeb, a buddy of mine altered the theme so it displays the channel icons along with the # and callsign, so you can graphically see what channel you are viewing. Its a small hack but it is nice eye candy and makes it easier for non-techies to find what they want.

If someone can point me to the relevant section that draws that part of the grid in the PHP I can cut and paste the one that has the icon.

Thanks.

-Jeff


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 19, 2005 9:20 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
It actually used to do this, and stopped sometime in the last couple revs of MythTV. I don't think Cecil has any control over that... ;-)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 19, 2005 9:55 pm 
Offline
Joined: Thu Apr 28, 2005 4:00 pm
Posts: 37
locate program_listing.php

It'll probably be the one in something/mythweb/themes/Default/


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 20, 2005 7:48 am 
Offline
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
As the rest of that particular theme is modified to turn off a bunch of things, I'll wait till I can get a hold of the guy who made the change and get the relevant lines from him.

It may not be a KnoppMyth change, but others might like to make the small edit. Non techies love the eye candy factor. :)

-Jeff


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 20, 2005 10:23 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I just went prowling through that code and it looks like icons should be enabled. I'm now wondering if it's a file access issue or something like that... Still researching, more deatils as I find them...

AHA!!! - permissions! The scripts try to copy over any missing icons from where the database says they are in /home/mythtv/.mythtv/channels to /usr/share/mythtv/mythweb/images/icons but since MythWeb runs as a nonprivileged user (www-data) and the directory is owned by root this is impossible.

This is actually something that Cecil does have control over and can fix easily. For a quick and dirty fix do this:
Code:
chmod a+w /usr/share/mythtv/mythweb/images/icons

I'm wondering if the directory should really be owned by root or www-data...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 20, 2005 1:33 pm 
Offline
Joined: Fri Mar 26, 2004 9:00 am
Posts: 239
Shazam! That did it! Looks great! Thanks tjc.

I'm reminded, once again, of what the Guru who first introduced me to Unix said... "95% of the time on Unix it's file permissons..." How often he's been proven right...

-Jeff


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu