Help - Search - Members - Calendar
Full Version: Help with MENU.ML
SE-NSE Forums > SE Firmware > Newbie Forum
KrX
[FIXED]
Solution: Remove all instances of empty <label><text></text></label>

Hi all

Ah well, just spent 30 minutes fiddling with my MENU.ML to get the Media Menu in.
[Lic3ns3d's Media Menu] [My Media Menu translated to English]

Still has the Errors Occur bla bla error.

Here's my bit of Media Menu code:

<CODE REMOVED>

Can't seem to spot any mistakes with it, but once I remove that chunk of code and put back the original WALKMAN link, the error message disappears... sad.gif

Any form of help would be appreciated. smile.gif

Regards,
KrX
Lic
QUOTE (KrX @ 2008-09-20 15:44) *
CODE
            <element id="MediaPlayer">
              <label type="title">
                <text></text>
              </label>
              <label type="helptext">
                <text>Listen Music Everywhere!</text>
              </label>
              <icon pos="selected" source="file">walkman.png</icon>
              <icon pos="unselected" source="file">walkman.png</icon>
              <link type="internal" />
              <!--<link type="java" javasuitename="KD Player" javasuitevendor="Knyzhov Dmitry" javasuitepoint="KDPlayer" />-->
            </element>


Change to this:

CODE
        <element id="MediaPlayer">
        <label type="name" textid="MENU_WALKMAN_MEDIAPLAYER_TXT" />
        <icon pos="selected" source="file">walkman.png</icon>
        <icon pos="unselected" source="file">walkman.png</icon>
        <icon pos="shortcut" source="internal">RN_SHORTCUT_LIST_MEDIAPLAYER_ICN</icon>
        <link type="internal" />
        </element>


And Write Post if it works shy.gif


KrX
Nope, same thing sad.gif
KrX
I feel that I should post it a second time to let people notice.

I solved the problem.

Use this chunk of code, guys. Its probably because of the blank text labels that are causing the errors.
CODE
<!-- Desktop Element 6 -->
        <element lock="icons" id="Multimedia">
          <label type="name">
            <text>Multimedia</text>
          </label>
          <icon pos="unselected" source="file">Icon6_unselected.png</icon>
          <icon pos="selected" source="file">Icon6_selected.png</icon>
          <label type="helptext">
            <text>Multimedia Menu</text>
          </label>
          <menu id="Menu_Multimedia" layout="DesktopFullScreen">
            <accelerator>MapToKeypad</accelerator>
            <highlight>1</highlight>
            <element id="Camera">
              <label type="helptext">
                <text>Catch Moments...</text>
              </label>
              <icon pos="selected" source="file">camera.png</icon>
              <icon pos="unselected" source="file">camera.png</icon>
              <link type="internal" />
            </element>
            <element id="MediaPlayer">
              <label type="helptext">
                <text>Listen to Music On The Go!</text>
              </label>
              <icon pos="selected" source="file">walkman.png</icon>
              <icon pos="unselected" source="file">walkman.png</icon>
              <icon pos="shortcut" source="internal">RN_SHORTCUT_LIST_MEDIAPLAYER_ICN</icon>
              <link type="internal" />
            </element>
            <element id="MediaPlayer_Video">
              <label type="helptext">
                <text>Watch Videos in your Phone!</text>
              </label>
              <icon pos="selected" source="file">video.png</icon>
              <icon pos="unselected" source="file">video.png</icon>
              <link type="internal" />
            </element>
            <element id="FileManager">
              <label type="helptext">
                <text>All Files...</text>
              </label>
              <icon pos="selected" source="file">files.png</icon>
              <icon pos="unselected" source="file">files.png</icon>
              <link type="internal" />
            </element>
          </menu>
        </element>
gunot12
Yup, it's the blank text labels. You can just remove that part of the code all together and you won't get any errors.
KrX
Yeah, thanks. smile.gif
zeoos
Thanks Mate, i finnaly get rid of the error.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.