We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24731 ☆ A M B ☆
    • 211 Posts
    I feel really dumb asking this, being a modx user for about 3 years or so, but for some weird reason after searching the entire system for an option to turn the resource preview window on I can’t seen to locate it. I don’t know if this was renamed, removed or where it went, I am using the latest svn but I just can’t find it.

    This is probably one of those times when you can’t see the keys that are right in front of you on the desk and no matter how hard you look everywhere you can’t find it sad.

    Tx.
      • 3749
      • 24,544 Posts
      It’s kind of hidden. Right-click on the doc in the tree at the left and select "Preview." smiley
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 24731 ☆ A M B ☆
        • 211 Posts
        Quote from: BobRay at Feb 23, 2010, 03:48 PM

        It’s kind of hidden. Right-click on the doc in the tree at the left and select "Preview." smiley

        Thanks for the reply, this is not what I meant. What I meant is the additional preview window you get at the bottom of the document overview, not the preview link that opens a new page.

        Thanks.
          • 24731 ☆ A M B ☆
          • 211 Posts
          I’m still trying to figure this out, I can’t find the option.

          Looking at the code, here is the condition that enables it, I just have not found the option where I switch this on/off in the manager.

          This is from file:

          /manager/actions/document_data.static.php


          Here is the code that activates it:

          <?php if ($show_preview==1) { ?>
          <div class="sectionHeader"><?php echo $_lang['preview']?></div>
          <div class="sectionBody" id="lyr2">
          	<iframe src="../index.php?id=<?php echo $id?>&z=manprev" frameborder="0" border="0" id="previewIframe"></iframe>
          </div>
          <?php }


          I just can’t figure to find where in the manager is the option to switch $show_preview On and Off.

          Any direction is appreciated.

          Jose R. Lopez
            • 20413
            • 2,877 Posts
            The preview frame have been replaced with the preview button (next to save)
            and the config option have been removed! I don’t understand why...
              @hawproductions | http://mrhaw.com/

              Infograph: MODX Advanced Install in 7 steps:
              http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

              Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
              http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
              • 24731 ☆ A M B ☆
              • 211 Posts
              ah, that would explain why I couldn’t find it. I don’t understand why they would remove that option tho, I find it quite useful.

                • 25663 MODX Staff
                • 12,272 Posts
                Opening a preview of the document in a new tab provides a better representation of the site though, right?
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 20413
                  • 2,877 Posts
                  On a 0963 site, I had the publisher creating a new doc, then a plugin that
                  took him back to continue editing. So he could manage MaxiGallery front-end
                  in the preview tab right away. It would be nice to still have the option of
                  using it, if it’s still left in the code. But by default turned off.
                    @hawproductions | http://mrhaw.com/

                    Infograph: MODX Advanced Install in 7 steps:
                    http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                    Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                    http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
                    • 24731 ☆ A M B ☆
                    • 211 Posts
                    Quote from: rthrash at Mar 04, 2010, 02:41 PM

                    Opening a preview of the document in a new tab provides a better representation of the site though, right?

                    That’s relative to your usage of the application. Personally I rely on front-end admin features which I find easier to access within the manager from the preview window. Some editors in the sites I handle don’t gasp the idea of front-end/back-end very well. For them, leaving the manager for the main site to complete some tasks such as image uploading and heading back to the manager to publish a new story is tedious.

                    I do agree with you, it may give a better overview of the site by opening on a new window, but the functionality of having a preview window within the document which can be quickly accessed within the manager is something I have usage for.

                    Whoever thought of making the logo of a website link to the homepage perhaps did not think how people would adapt to that knowledge. Personally I click the logo more often than I click the "home" or "index" link on any webpage. It does not say anywhere that it will take me there, but I just know this because that is how the web works.

                    I give you the above example to showcase how a simple action/option while not obvious to everyone can aid greatly in users orientation.

                    If the preview option is gone, well it is gone, I am not going to fight against it, we will just learn and adapt to do it some other way, but I feel a user option as such, since it is an option indeed, should only be replaced by something that can be cataloged better. As you can open a tab yourself without the manager doing it for you, I do not see how this becomes a replacement of a preview window within the manager.

                    just my 2 cents.

                    Cheers,
                    Jose R. Lopez
                      • 3749
                      • 24,544 Posts
                      I usually open the page in a different browser in the front end and just go to that window and hit reload. My users generally have no trouble getting that concept.
                        Did I help you? Buy me a beer
                        Get my Book: MODX:The Official Guide
                        MODX info for everyone: http://bobsguides.com/modx.html
                        My MODX Extras
                        Bob's Guides is now hosted at A2 MODX Hosting