We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27330
    • 884 Posts
    I’ve created a new tab ’MyTab’ for all templates. is there a way to make the manager load this tab VS the General Tab? so when I edit documents this will be the first tab I see.
      • 36416
      • 589 Posts
      Quote from: sinbad at Nov 17, 2008, 12:07 PM

      I’ve created a new tab ’MyTab’ for all templates. is there a way to make the manager load this tab VS the General Tab? so when I edit documents this will be the first tab I see.

      Start from here:
      http://modxcms.com/forums/index.php/topic,29070.msg176500.html#msg176500
        • 27330
        • 884 Posts
        thanks for the link Eol.
        The solution there won’t work for me as I try to focus on specific tab under specific template, ie when editing "Writers" template document I want the "Add a Writer" tab selected, when I edit "Painters" docs I want the "Add New Painter" tab selected. and there solution there is to remove the cookie.
          • 4172
          • 5,888 Posts
          What you can try is something like that:

              var tp = docSettings.addTabPage( $('tabFcc') );
              $('childPane').adopt('tabFcc');
          	docSettings.setSelectedIndex(tp.index);


          see also http://webfx.eae.net/dhtml/tabpane/tabpane.html
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 21056
            • 327 Posts
            Quote from: sinbad at Nov 17, 2008, 12:07 PM

            I’ve created a new tab ’MyTab’ for all templates. is there a way to make the manager load this tab VS the General Tab? so when I edit documents this will be the first tab I see.
            The last viewed tab is stored in a cookie, and the manager should always open on the last viewed tab.
              Author: ManagerManager plugin - customise your ModX manager interface

              Rckt - web development, Sheffield, UK
              • 27330
              • 884 Posts
              I know this is the normal behavior and it’s working just fine, thing is what I wanted to do is something like this:

              New ’Client’ Template docs - focus on ’client’ tab.
              New ’Project’ template docs - focus on ’project’ tab.
              etc.

              hope I make more sense now wink