[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mythtv-users
Subject:    Re: [mythtv-users] Edit a theme menu screen
From:       "Roger Siddons" <dizygotheca () ntlworld ! com>
Date:       2012-05-30 21:13:52
Message-ID: op.we43xey6b49nse () rlaptop
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wed, 30 May 2012 04:03:14 +0100, Igor Cicimov <icicimov@gmail.com>  
wrote:

> On Sun, May 27, 2012 at 3:28 PM, Jim Stichnoth <stichnot@gmail.com>  
> wrote:
>> On Sat, May 26, 2012 at 8:52 PM, Ronald Frazier <ron@ronfrazier.net>  
>> wrote:
>>> On Sat, May 26, 2012 at 7:13 PM, Igor Cicimov <icicimov@gmail.com>  
>>> wrote:
>>>> Hi all,
>>>>
>>>> I'm using MythCenter-wide theme and want to add very simple  
>>>> additional menu
>>>> item with EXEC action but not sure how to do it for this particular  
>>>> theme. I
>>>> read about adding button in the mainmenu.xml file but that file  
>>>> doesn't
>>>> exist for this particular theme  
>>>> (/usr/share/mythtv/themes/MythCenter-wide
>>>> directory) or I'm looking in wrong place. Or maybe all themes use the  
>>>> same
>>>> mainmenu.xml file but parse that file differently? I would appreciate  
>>>> any
>>>> directions regarding this. Although this might be a question for the
>>>> developers list so please let me know if that's the case.
>>>
>>> You don't need to modify the theme. You need to modify the menu theme.
>>> Menu themes are different. They are in the same folder (for me, it's
>>> /usr/local/share/mythtv/themes) with names like defaultmenu, DVR,
>>> classic, and mediacentermenu.
>>
>> Also, you can create or copy one of the menu theme files into
>> ~/.mythtv/ and the frontend will pick up that file instead, so you
>> don't have to modify any installed files.
>>
>>>> Jim
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users@mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
> Thanks guys, I'll go with the option of copying the file to my myth user  
> home and editing it there. I saw those files initially but was not sure  
> which >one to change since none of them matched the main menu content I  
> see in the theme?!?! Should I copy over and edit all of them or >the  
> mediacentermenu is the right one? It's not a big deal but just trying to  
> understand which theme uses which file. I guess I should change all of  
> >them if I want to make the change global.
>
> Thanks again for the help.
> Igor

I suspect you're missing the point. The terminology is confusing but the  
menu definitions are independent of the theme you're using (even though  
they're bundled together). The files to modify depend on which menu system  
you are using, as configured by Setup/Appearance.

For instance, I prefer the DVR menus, so I have copied files from  
/usr/share/mythtv/themes/DVR to ~/.mythtv/themes/DVR and modified them.  
You should only copy files that you are going to change.

Your menus will persist whichever Myth theme you use. However you don't  
need to change the other menu definitions unless you regularly switch menu  
systems in Setup/Appearance (unlikely).

http://www.mythtv.org/wiki/Menu_theme_development_guide
[Attachment #5 (multipart/related)]

[Attachment #7 (text/html)]

<!DOCTYPE html><html><head>
<style type="text/css">"body { font-family:'DejaVu Sans Condensed'; \
font-size:18px"}</style> </head>
<body>On Wed, 30 May 2012 04:03:14 +0100, Igor Cicimov &lt;icicimov@gmail.com&gt; \
wrote:<br><br><blockquote style="margin: 0 0 0.80ex; border-left: #0000FF 2px solid; \
padding-left: 1ex">On Sun, May 27, 2012 at 3:28 PM, Jim Stichnoth <span \
dir="ltr">&lt;<a href="mailto:stichnot@gmail.com" \
target="_blank">stichnot@gmail.com</a>&gt;</span> wrote:<br><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> <div class="im">On Sat, May 26, \
2012 at 8:52 PM, Ronald Frazier &lt;<a \
href="mailto:ron@ronfrazier.net">ron@ronfrazier.net</a>&gt; wrote:<br> &gt; On Sat, \
May 26, 2012 at 7:13 PM, Igor Cicimov &lt;<a \
href="mailto:icicimov@gmail.com">icicimov@gmail.com</a>&gt; wrote:<br> &gt;&gt; Hi \
all,<br> &gt;&gt;<br>
&gt;&gt; I'm using MythCenter-wide theme and want to add very simple additional \
menu<br> &gt;&gt; item with EXEC action but not sure how to do it for this particular \
theme. I<br> &gt;&gt; read about adding button in the mainmenu.xml file but that file \
doesn't<br> &gt;&gt; exist for this particular theme \
(/usr/share/mythtv/themes/MythCenter-wide<br> &gt;&gt; directory) or I'm looking in \
wrong place. Or maybe all themes use the same<br> &gt;&gt; mainmenu.xml file but \
parse that file differently? I would appreciate any<br> &gt;&gt; directions regarding \
this. Although this might be a question for the<br> &gt;&gt; developers list so \
please let me know if that's the case.<br> &gt;<br>
&gt; You don't need to modify the theme. You need to modify the menu theme.<br>
&gt; Menu themes are different. They are in the same folder (for me, it's<br>
&gt; /usr/local/share/mythtv/themes) with names like defaultmenu, DVR,<br>
&gt; classic, and mediacentermenu.<br>
<br>
</div>Also, you can create or copy one of the menu theme files into<br>
~/.mythtv/ and the frontend will pick up that file instead, so you<br>
don't have to modify any installed files.<br>
<span class="HOEnZb"><font color="#888888"><br>
Jim<br>
</font></span><div class="HOEnZb"><div \
class="h5">_______________________________________________<br> mythtv-users mailing \
list<br> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" \
target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br> \
</div></div></blockquote></div><br><div>Thanks guys, I'll go with the option of \
copying the file to my myth user home and editing it there. I saw those files \
initially but was not sure which one to change since none of them matched the main \
menu content I see in the theme?!?! Should I copy over and edit all of them or \
the&nbsp;mediacentermenu is the right one? It's not a big deal but just trying to \
understand which theme uses which file. I guess I should change all of them if I want \
to make the change global.</div> <div><br></div><div>Thanks again for the \
help.</div><div>Igor</div> </blockquote><br><div>I suspect you're missing the point. \
The terminology is confusing but the menu definitions are independent of the theme \
you're using (even though they're bundled together). The files to modify depend on \
which menu system you are using, as configured by \
Setup/Appearance.&nbsp;</div><div><br></div><div>For instance, I prefer the DVR \
menus, so I have copied files from /usr/share/mythtv/themes/DVR to \
~/.mythtv/themes/DVR and modified them. You should only copy files that you are going \
to change.<br></div><div><br></div><div>Your menus will persist whichever Myth theme \
you use. However you don't need to change the other menu definitions unless you \
regularly switch menu systems in Setup/Appearance \
(unlikely).</div><div><br></div><div><a \
href="http://www.mythtv.org/wiki/Menu_theme_development_guide">http://www.mythtv.org/wiki/Menu_theme_development_guide</a></div><div><br></div><br></body></html>




_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic