Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • syn-rg 282 posts 425 karma points
    May 13, 2010 @ 02:12
    syn-rg
    0

    Minor change to en.xml language file, now UI not working properly

    Hi all,

    I made a minor change to my en.xml language file. No when I right-click to create/edit in canvas/delete/move/copy/etc. The pop up isn't displaying. I switched my language to Italian, and it works. I changed my file back using a saved back up of the en.xml from a few days early. And it still won't work.

    Any suggestions as to how I can get this working again with my en.xml?

    Cheers,
    JV

  • Aaron Powell 1708 posts 3046 karma points c-trib
    May 13, 2010 @ 05:46
    Aaron Powell
    0

    Are you receiving a JavaScript error (check with Firebug, Google Chrome dev tools or the IE Dev Tools)? I don't know if it stores the language details encoded properly, so if you have a ' or a " it may have escaped the string causing the JavaScript to break.

  • syn-rg 282 posts 425 karma points
    May 13, 2010 @ 07:56
    syn-rg
    0

    Not receiving any JavaScript error's and can't see any ' or " that may have been removed break the JavaScript

  • Steen Tøttrup 191 posts 291 karma points c-trib
    May 13, 2010 @ 11:31
    Steen Tøttrup
    0

    Could you post the changes you've made ?

     

  • syn-rg 282 posts 425 karma points
    May 14, 2010 @ 01:22
    syn-rg
    0
      <area alias="login">
    <key alias="topText">Welcome to Your Toolbox, type your username and password in the boxes below:</key>
    <key alias="bottomText">
    <![CDATA[<p style="text-align:right;">&copy; 2009 - %0% <br /><a href="http://www.yourtoolbox.com.au/" style="text-decoration: none" target="_blank">yourtoolbox.com.au</a></p>]]>
    </key>
    </area>

  • Aaron Powell 1708 posts 3046 karma points c-trib
    May 14, 2010 @ 04:42
    Aaron Powell
    0

    Did you inspect the request using Charlse, Fiddler or Firebug? That may have an indication of the problem.

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    May 14, 2010 @ 08:56
    Sebastiaan Janssen
    0

    Your "text-decoration: none;" is missing a semicolon, but I don't suppose that's it?

  • syn-rg 282 posts 425 karma points
    May 17, 2010 @ 01:51
    syn-rg
    0

    I've tried using Firebug to see any obvious errors but nothing is standing out. Including the semicolon didn't work either.

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    May 17, 2010 @ 08:14
    Sebastiaan Janssen
    0

    Alright:

    - What change did you make? Specifically, you change what into what?
    - Can you revert the change? Does it start working again if you do?
    - Can you do "view source" on the working and non-working version? If so, throw the source into Winmerge to find the exact differences.

    Before I paste stuff into Winmerge, I usually paste it into a new XML file in Visual Studio so that I can format it with CTRL+K, CTRL+D, that way. I know the indentation is exactly the same so that the diff actually makes sense.

    Usually, this has something to do with self-closing html tags (like an empty div being closed like so <div id="content"/>, which really confuses the  browser).

  • syn-rg 282 posts 425 karma points
    May 18, 2010 @ 03:02
    syn-rg
    0

    Success!

    I replaced the file with an older version. When I was editing the XML I was doing so in Dreamweaver. Which was adding extra carriage returns and moving some key tags around.

    I made the edit in simple text and the problem is fixed.

    Sebastiaan, I checked the working XML and the non-working version in WinMerge and could see the problem was closing key tags when they shouldn't have been closed.

    Thanks to all for your help, big thanks to Sebastiaan.

    Cheers,
    JV

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies