We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16834
    • 93 Posts
    further to my comment of yesterday. I found some help in the issues section of the FoxyBack google code pages. For those that need it, it can be found at http://code.google.com/p/foxyback-modx/issues/list

    I am further down the line but need a few more pointers:

    a_) Is there a comprehensive list of FoxyBack pages/snippets/chunks/modules that are supposed to be visible within the modx backend after a successful installation?
    b_) Certain FoxyBack chunks call a snippet called Bounce. I have searched high and low and cannot find this snippet. Any clues?
    c_) During installation a root-level page is created named "FoxyBack - Order Manager". This has no children ("This folder is empty). The contents are
    [!Redirect?id=`28`!]
    . Should this redirect be altered to the ID of the master page under which the Order Manager, Order Edit, Ajax Handler, test - atlast fulfillment, and Datafeed Processor pages were created? Alternatively, to one of the above named pages?

    Thanks for any further advice.

    L

      • 34017
      • 898 Posts
      Bounce Snippet
      
      <?php
      // Name:    bounce
      // Version: 1.0
      // License: Public Domain
      //
      // Description:
      //   "Bounce" over the content of a page via a temporary 302 forward without rendering
      //   the content. Useful during development to send "regular" users to "coming soon" page. 
      //   A Manager session by default skips the bounce and allows viewing the page content.
      //
      // Usage:
      //   [!bounce?docId=`XX`!]
      //   [!bounce?docId=`XX` &mgrBounce=`1`!]
      //
      // Required Parameters: 
      //   docId: integer, the Document ID of the destination page
      //
      // Optional Parameters: 
      //   mgrBounce: boolean (false), bounce even with a validated manager session
      
      $mgrMode= isset($_SESSION['mgrValidated']) && $_SESSION['mgrValidated'];
      $mgrBounce= (($mgrBounce==true || $mgrBounce=='1') && $mgrMode) ? true : false;
      $docId= ($mgrBounce==true || ($mgrMode!=true && isset($docId))) ? intval($docId) : 0;
      
      if ($docId) $modx->sendForward($docId);
      ?>
      
      


      For the document’s, the easiest way it to go into phpmyadmin and edit the ’parent’ of the docs foxyback created. The parent is hard-coded and their parent probably doesnt exist right now (so you cant see em in the tree). Set the parents of documents created by foxyback to 0 so you can see them in the main root. Then you can move em.
        Chuck the Trukk
        ProWebscape.com :: Nashville-WebDesign.com
        - - - - - - - -
        What are TV's? Here's some info below.
        http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
        http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
        • 16834
        • 93 Posts
        wonderful! Thank you, Chuck
          • 29635
          • 361 Posts
          We know the install process needs some work, and that’ll be the next thing we work on. Sorry in the meantime, and thanks Chuck for giving that tip.
            Need MODx Ecommerce? Try FoxyCart!
            • 16834
            • 93 Posts
            An expansion of my earlier post - I need some clarification if possible:

            Following the INSTALL documentation, I used sql/foxyback-install.sql to create a number of pages.

            One of these was named "FoxyBack - Order Manager". This was an empty folder at root level that contained just
            [!Redirect?id=`28`!]
            .

            I changed this to refer to the document under which the FoxyBack pages were created,
            [!Redirect?id=`568`!]


            However I then realised that I did not have a snippet named "Redirect".

            I found one here on the modx wiki that seems to the trick:
            <?php
            $url = $modx->makeUrl($id);
            ob_end_clean(); // this will end the output buffer and discard silently what ever was in it
            header('Location: '.$url);
            ?>


            a_) Am I right in believing that this code will do the trick?
            b_) Which document is this page supposed to be redirecting to? and why?

            Many thanks for further help

            L
              • 24393
              • 83 Posts
              1. would anyone be willing to briefly explain how to create a simple login page for webusers to view their orders? i have foxyback up and running but i’m a bit lost in all of these snippets... thanks in advance.
              solution: create new "display orders" and "order view" documents for your "customers" web user group and http://code.google.com/p/foxyback-modx/issues/detail?id=9"" target="_blank" rel="nofollow">apply this fix

              2. are we required to enable "friendly alias paths" in order to use foxyback?
              solution: manually modify file paths and form actions in chunks/snippets

              3. i would like to use the integrations for foxyback, foxycart_inventory, quickbooks and campaign monitor using the XML data feed. anyone willing to help me with this final step?
                stevesunderland.com
                GRAPHICS | INTERACTIVE | MARKETING
                xhtml + ajax + seo websites powered by modx
                • 8416
                • 173 Posts
                Hello,
                I installed Foxyback. Thanks for the preview.
                What is the use of the document "FoxyBack -Order Manager" that was created during the install? It only has a snippet
                 [!Redirect?id=`id`!]

                For id I used a root document containing Oder Management, Order edit Ajax Handler and so on.
                Thanks for any input...
                  • 16834
                  • 93 Posts
                  hello

                  That’s exactly what I did. An alternative is to move the other pages created to be children of the FoxyBack -Order Manager page.

                  L
                    • 8416
                    • 173 Posts
                    Ok, thanks got it now.
                    Another question, I’m using a test script to mimic FoxyCart.com and send encrypted and encoded XML to a URL. However when I run the script I keep getting an mysql error:
                    mysql_connect() [function.mysql-connect]: User xxxx already has more than 'max_user_connections' active connections

                    Does anyone know how to get around this?
                    Thanks
                      • 16834
                      • 93 Posts
                      hello

                      you need to check your mysql config for max connections.

                      probably in /etc/my.cnf if you are running your own server and have access