We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13588
    • 31 Posts
    Hi again!

    I created fix to enable "Manage Files" manager feature in IE 6.0 (see my previous post http://modxcms.com/forums/index.php/topic,7474.msg53349.html#msg53349) smiley

    For correcting this one need to change not MODxLight manager theme’s style.css file, but manager/actions/files.dynamic.php shocked Also was extended MODx’s default language file manager/includes/lang/english.inc.php, and manager/media/style/MODxLight/style.css was slightly changed too.

    Fixed "Manage Files" feature was tested by me on IE 6 (6.0.2600), FF (1.5.07) and Opera 9 (9.0.2). Works fine.

    Changes description:

    1) In manager/actions/files.dynamic.php corrected inline CSSs in generated HTML, fixed erroneously generated URLs, exported to manager/includes/lang/english.inc.php some hardcoded string constants (and implemented some new - also exported). In some places beautified output to be more close to XHTML, more usable and more accessible. But by my opinion this .php file must be refactored by one PHP professional - it has many hardcoded HTML otput layed at the presentation layer, that may not be styled through .css in manager theme. I’m not a PHP professional, so I only fixed some bugs...

    2) In MODx’s default language file manager/includes/lang/english.inc.php were added such constants:
    //-- file manager actions icons alt text
    $_lang["file_view_file"] = 'View File';
    $_lang["file_edit_file"] = 'Edit File';
    $_lang["file_delete_file"] = 'Delete File';
    $_lang["file_delete_folder"] = 'Delete Folder';
    

    3) In manager/media/style/MODxLight/style.css CSS file was changed this class definition:
    .disabledImage, .disabledImage * {
    	width: 20px;
    	opacity: 0.3;
    	filter: alpha(opacity=30);
    }
    

    All changed files are attached to this post (changes apllied to files from SVN’s rev 1582).


    @Ryan: thanks for correcting and implementing bug fixes! Also, now I understand how browser-related parts of MODx are developed. So, if I’ll encounter some critical IE bugs (thats then breaks out normal system behaviour, as the one in this post), I’ll try to correct them before stable stage of development will be achieved. In other cases, I’ll wait wail some parts will be finished. Is this correct accordingly to established collaboration practices at MODx?
      • 25663 MODX Staff
      • 12,272 Posts
      Quote from: ajayre at Sep 29, 2006, 05:20 PM

      I like the new manager theme, but one thing I don’t like is that un-published documents now have a line through their names. This makes them look too similar to the documents that are in the recycle bin, and at first I was worried that emtpying the recycle bin would also erase those documents. I would prefer going back to a different colour, or maybe showing them in grey like now but without the strikethrough.

      Good call. Strikethrough will be removed from unpublished documents, leaving them light gray.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 25663 MODX Staff
        • 12,272 Posts
        Quote from: ajayre at Sep 29, 2006, 05:43 PM

        Create a new document (ID = 2) and set it to published
        Edit document ID 1
        Select some text and create a link with the URL [~2~]
        Save
        Refresh site and click on link

        Instead of going to http://www.foo.com/index.php?id=2 it goes to http://www.foo.com/manager/index.php?id=2
        Are you doing this with the RTE or manually creating the link? Are you clicking on the link from front-end or manager, and if front end, logged into manager or not?
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 727
          • 502 Posts
          It is in the RTE - TinyMCE - in the manager.

          Andy
            • 8164
            • 51 Posts
            I hope this hasn’t already been asked and answered, but I didn’t turn up anything in a search.

            I’ve been experimenting with the 0.9.5 Beta, and like it a lot. I did have the js error issue with the Quick Edit buttons on the initial build I used, but that seems to be working fine now that I patched to the latest files.

            One thing I’ve noticed, however, is that the native visitor stats are no longer part of the implementation. I know they were troublesome in a lot of ways, but having that handy visitor stats structure for clients to go to was an *extremely* important selling point for us.

            Earlier, someone had integrated slim stats into MODx, but I don’t find that in the Repository.

            So, I guess I’m wondering what the plans are for visitor stats in 0.9.5.

            Thanks!

            Duane
              • 727
              • 502 Posts
              Although not integrated, I suggest Google Analytics. It’s free, lots of data and there is even a snippet to help you add the code (but it’s trivial anyway).

              Andy
                • 25663 MODX Staff
                • 12,272 Posts
                My top two recommendations are Google Analytics or a log analysis package like AWStats. There also is a basic page counter available for 095 too.

                In my experience, SlimStats has proven to be suboptimal once you get past the pretty interface (think hits vs page views... sigh), and it’s easy to kill your site by logging too much data. The built in stats were just as bad or worse.

                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 23050
                  • 1,842 Posts
                  Quote from: ajayre at Sep 29, 2006, 05:43 PM

                  Create a new document (ID = 2) and set it to published
                  Edit document ID 1
                  Select some text and create a link with the URL [~2~]
                  Save
                  Refresh site and click on link

                  Instead of going to http://www.foo.com/index.php?id=2 it goes to http://www.foo.com/manager/index.php?id=2

                  I had the same problem... but with chunk.
                  Just after the upgrade from beta 2 to beta 3, RTE was unable for chunk. When I modified a link in any chunk, I realised that all href="#" were turned into href="manager/index.php#"
                  If I turn off RTE, the problem disappears.
                    • 10487 MODX Staff
                    • 1,535 Posts
                    Garry Nutting Reply #99, 20 years ago
                    I had the same problem... but with chunk.
                    Just after the upgrade from beta 2 to beta 3, RTE was unable for chunk. When I modified a link in any chunk, I realised that all href="#" were turned into href="manager/index.php#"
                    If I turn off RTE, the problem disappears.
                    This will be fixed in the next beta, there is a configuration option for setting Relative URLs in TinyMCE that needed amending.
                      Garry Nutting
                      Senior Developer
                      MODX, LLC

                      Email: [email protected]
                      Twitter: @garryn
                      Web: modx.com
                      • 6726
                      • 7,075 Posts
                      Quote from: rthrash at Oct 02, 2006, 06:33 PM
                      My top two recommendations are Google Analytics or a log analysis package like AWStats. There also is a basic page counter available for 095 too. In my experience, SlimStats has proven to be suboptimal once you get past the pretty interface (think hits vs page views... sigh), and it’s easy to kill your site by logging too much data. The built in stats were just as bad or worse.

                      Couldn’t agree more... one app worth looking into in this regard is phpMyVisites
                      It goes straight to the point, there is a clean simple layout, yet you get some interresting features like RSS feed, email report or PDF export... perfect for clients smiley
                        .: COO - Commerce Guys - Community Driven Innovation :.


                        MODx est l'outil id

                      This discussion is closed to further replies. Keep calm and carry on.