home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
Request for generic menu items between skins
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="cul8er" data-source="post: 657549" data-attributes="member: 24508"><p><strong>Re: Request for generic menu editor</strong></p><p></p><p>Hi,</p><p></p><p>Would it be an idea to just standardize the settings file (I think that's what some of you suggested above<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" />). Create a xml structure that can hold menuitems, subitems, images, texts, captions etc (all that could be used in a menu). It would then only be for every skinner that uses a menu editor to replace their setting file with the generic one (read / write). Perhaps quicker that making one generic editor that should support every skin?! Put the suggested usermenu.xml file in the MediaPortal config directory and every editor tool read and write to that file.</p><p></p><p>Example (only a quick draft without much time to think<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /> );</p><p>[CODE]</p><p><?xml version="1.0" encoding="utf-8"?></p><p> <MenuSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"></p><p> <General></p><p> <UseRss>Yes</UseRss></p><p> <DefaultMenu>Movies</DefaultMenu></p><p> </General></p><p> <MenuItems></p><p> <MenuItem Text="Music"></p><p> <Caption1>Listen To</Caption1></p><p> <Caption2>Music</Caption2></p><p> <Hyperlink>30</Hyperlink></p><p> <Action>-</Action></p><p> <FanartHandler>Music</FanartHandler></p><p> <BackgroundImage>-</BackgroundImage></p><p> <BackgroundFolder>-</BackgroundFolder></p><p> </MenuItem></p><p> <MenuItem Text="Movies"></p><p> <Caption1>Watch Your</Caption1></p><p> <Caption2>Movies</Caption2></p><p> <Hyperlink>96742</Hyperlink></p><p> <Action>-</Action></p><p> <FanartHandler>Movies</FanartHandler></p><p> <BackgroundImage>-</BackgroundImage></p><p> <BackgroundFolder>-</BackgroundFolder></p><p> <SubMenuItems></p><p> <SubMenuItem Text="Movies"></p><p> <Hyperlink>96742</Hyperlink></p><p> <Action>-</Action></p><p> <FanartHandler>Movies</FanartHandler></p><p> <BackgroundImage>-</BackgroundImage></p><p> <BackgroundFolder>-</BackgroundFolder></p><p> </SubMenuItem></p><p> <SubMenuItem Text="Online Videos"></p><p> <Hyperlink>4755</Hyperlink></p><p> <Action>-</Action></p><p> <FanartHandler>Movies</FanartHandler></p><p> <BackgroundImage>-</BackgroundImage></p><p> <BackgroundFolder>-</BackgroundFolder></p><p> </SubMenuItem></p><p> </SubMenuItems></p><p> </MenuItem></p><p> </MenuItems></p><p> </MenuSettings></p><p></xml></p><p>[/CODE]</p><p></p><p>best regards</p><p>cul8er</p></blockquote><p></p>
[QUOTE="cul8er, post: 657549, member: 24508"] [b]Re: Request for generic menu editor[/b] Hi, Would it be an idea to just standardize the settings file (I think that's what some of you suggested above;)). Create a xml structure that can hold menuitems, subitems, images, texts, captions etc (all that could be used in a menu). It would then only be for every skinner that uses a menu editor to replace their setting file with the generic one (read / write). Perhaps quicker that making one generic editor that should support every skin?! Put the suggested usermenu.xml file in the MediaPortal config directory and every editor tool read and write to that file. Example (only a quick draft without much time to think;) ); [CODE] <?xml version="1.0" encoding="utf-8"?> <MenuSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <General> <UseRss>Yes</UseRss> <DefaultMenu>Movies</DefaultMenu> </General> <MenuItems> <MenuItem Text="Music"> <Caption1>Listen To</Caption1> <Caption2>Music</Caption2> <Hyperlink>30</Hyperlink> <Action>-</Action> <FanartHandler>Music</FanartHandler> <BackgroundImage>-</BackgroundImage> <BackgroundFolder>-</BackgroundFolder> </MenuItem> <MenuItem Text="Movies"> <Caption1>Watch Your</Caption1> <Caption2>Movies</Caption2> <Hyperlink>96742</Hyperlink> <Action>-</Action> <FanartHandler>Movies</FanartHandler> <BackgroundImage>-</BackgroundImage> <BackgroundFolder>-</BackgroundFolder> <SubMenuItems> <SubMenuItem Text="Movies"> <Hyperlink>96742</Hyperlink> <Action>-</Action> <FanartHandler>Movies</FanartHandler> <BackgroundImage>-</BackgroundImage> <BackgroundFolder>-</BackgroundFolder> </SubMenuItem> <SubMenuItem Text="Online Videos"> <Hyperlink>4755</Hyperlink> <Action>-</Action> <FanartHandler>Movies</FanartHandler> <BackgroundImage>-</BackgroundImage> <BackgroundFolder>-</BackgroundFolder> </SubMenuItem> </SubMenuItems> </MenuItem> </MenuItems> </MenuSettings> </xml> [/CODE] best regards cul8er [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Request for generic menu items between skins
Contact us
RSS
Top
Bottom