We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28676
    • 136 Posts
    I have sorted it now, but my alias is disabled, I have removed the bit of code that made it grey, but its still not enabled. Can anyone help?
      I made my first site with modx
      ------------------------
      http://www.shop-bright.com | Uk shopping blog
      • 29635
      • 361 Posts
      Is it truly disabled or is it just gray?
      // Disable the alias field
      $("input[@name=alias]").attr("disabled","disabled").css({ background:"#ccc", color:"#666" });
      

      Notice it’s being disabled, and the background and color are being set. If you’re having a problem, that’s the only line of code that’d be doing it.
        Need MODx Ecommerce? Try FoxyCart!
        • 25307
        • 114 Posts
        clear cache too or maybe logout and back in, I’ve had some luck with funky little cache things like that when screwing with this plugin...
          • 28676
          • 136 Posts
          I think it was the cache, I removed the module last night and re-installed it and now I can’t get it to work. ggggrrrr.
            I made my first site with modx
            ------------------------
            http://www.shop-bright.com | Uk shopping blog
            • 28676
            • 136 Posts
            Finally I got it to work, and its much better now that I can hide stuff. One question I want to hide the content area as I don’t use it and it takes a whole lot of space, I found this in the example;

            // Hide the content area
            $("#ta").parents("div").parents("div.sectionBody").hide().prev("div.sectionHeader").hide()’;
            break;

            But when I add that it stops it working? any help would be great.

            Cheers and thanks for the plugin

            Simon
              I made my first site with modx
              ------------------------
              http://www.shop-bright.com | Uk shopping blog
              • 29635
              • 361 Posts
              Hi Simon.
              Try adding a semicolon at the end of the line, like this:
              $("#ta").parents("div").parents("div.sectionBody").hide().prev("div.sectionHeader").hide();';
              
                Need MODx Ecommerce? Try FoxyCart!
                • 28676
                • 136 Posts
                Ah that worked a treat, so the last item must have a semicolon on the end?

                One other thing that I`m trying to remove (just becuase I can) are the tabs along the top, the page settings tab and the meta keywords tab, I have this, but it’s not doing anything, is this the right code?

                  // Hide the other document object tabs
                                $("#tabSettings").hide();
                                $("#tabMeta").hide();


                Thanks for the help, its making it much better for editing docs.

                cheers
                Simon
                  I made my first site with modx
                  ------------------------
                  http://www.shop-bright.com | Uk shopping blog
                  • 11975
                  • 2,542 Posts
                  Quote from: Dimmy at Jun 10, 2007, 08:13 PM

                  Quote from: The at Jun 08, 2007, 07:57 PM

                  Oooh, that’s a really good idea...

                  How would you like to split them? By type (Image, URL, Text, Textarea, radio buttons, etc.), or by tv name or caption/description... or something else?

                  by category I think, would be most flexible.

                  Something like this one ?
                  Tvs are displayed by category



                  If someone is interested in I will post the modified manager files (actions/mutate_content.dynamic.php and media/style/MODxLight/style.css)
                  :-)
                    Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
                    • 7455
                    • 2,204 Posts
                    That would be great I like to use this
                    maybe its posible to instead of hacking the core use a plugin to generate this?


                    Could you post it here or mail it to me?

                    thanks

                    Dimmy
                      follow me on twitter: @dimmy01
                      • 25307
                      • 114 Posts
                      Quote from: heliotrope at Jul 05, 2007, 11:37 AM

                      If someone is interested in I will post the modified manager files (actions/mutate_content.dynamic.php and media/style/MODxLight/style.css)
                      :-)

                      please do, I’d love to take a look at your method of restructuring that many of the manager fields. thanx smiley