We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40478
    • 1 Posts
    Hi,
    first of all: Thank you very much for this great tool, I love it! I just have one small advice: I had a hard time figuring out that - in order to use the Aloha in-Page editing variant - I have to set the editMethod to "raw". Maybe this could find its way into the Aloha Page editing section of the Instruciton-PDF.

    And - of course - I got the same wish as franklos.. being able to edit TVs would be great!

    Thank you once again for your good work!
      • 6488
      • 23 Posts
      I am trying to get this to work again over a year after my first failed attempt. Is anyone still working on this? It looks like shamblett last posted anything here or on github about 8 months ago.

      I tested the install package of 1.4.0 beta on a fresh clean install of Revo 2.2.0. I installed the frontpage package first, then the Login package, then the TinyMCE package. Login works. TinyMCE works. The frontpage toolbar appears after I log in on the front end. The problem is, I see the edit and create buttons, but clicking on them does nothing.

      I checked all the permissions on the assets folders and files; all folders are 755, all files are 644.

      Here is the only error printed in my fresh install error log:

      [2012-07-22 06:51:48] (ERROR @ /index.php) [OnWebPagePrerender]<html>
      <head>
      <title>MODX Revolution - Home</title>
      <base href="http://mydomain.com/" />
      
                      <link type="text/css" media="screen" rel="stylesheet" href="/assets/components/frontpage/css/colorbox.css" />
                      <style type="text/css">
                      .cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=internet_explorer/borderTopLeft.png, sizingMethod='scale');}
                      .cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=internet_explorer/borderTopCenter.png, sizingMethod='scale');}
                      .cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=internet_explorer/borderTopRight.png, sizingMethod='scale');}
                      .cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=internet_explorer/borderBottomLeft.png, sizingMethod='scale');}
                      .cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=internet_explorer/borderBottomCenter.png, sizingMethod='scale');}
                      .cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=internet_explorer/borderBottomRight.png, sizingMethod='scale');}
                      .cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/assets/components/frontpage/css/imagesinternet_explorer/borderMiddleLeft.png, sizingMethod='scale');}
                      .cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/assets/components/frontpage/css/imagesinternet_explorer/borderMiddleRight.png, sizingMethod='scale');}
                      </style>
                      <script type="text/javascript" src="/assets/components/frontpage/js/jquery.colorbox-min.js"></script>
                      
                  <script type="text/javascript">
                  
                  // Frontpage Control
                  var FrontPage = new Object();
                  FrontPage.source = 1;
                  FrontPage.create = 0;
                  FrontPage.edit = 0;
                  
                  $(document).ready(function($)
                  {
                      $("a.colorbox").colorbox({width:"90%", height:"90%", 
                          iframe:true, 
                          overlayClose:false,
                          fixed:true,
                          close:"I've finished",
                          transition:"elastic",
                          onClosed:function(){
                              if ( FrontPage.edit == 1 ) {
                                  window.location.reload();
                              }
                              if ( FrontPage.create == 1 ) {
                                  $.ajax({url: "index.php?id=7&frontpage=1",
                                          async: false,
                                          dataType: "text",
                                          success: function(data){
                                            data = decodeURI(data); 
                                            window.location = data;
                                          },
                                          error: function(a,b,c){
                                              var wearehere = 0;
                                          }
                                    });
                              }
                                              
                           }
                          });
                              
                      // Bindings
                      $().bind("cbox_open", function(){
                          $("body").css({"overflow":"hidden"});
                          $("html").css({"overflow":"hidden"});
                          $("#fpEditor").css({"display":"none"});
                      });
                      $().bind("cbox_closed", function(){
                          $("body").css({"overflow":"auto"});
                          $("html").css({"overflow":"auto"});
                          $("#fpEditor").css({"display":"block"});
                      });
      
                      // Hide Frontpage
                      $(".fpClose").click(function () {
      
                          $("#fpEditor").hide("normal");
                          $("#fpEditorClosed").show("normal");
      
                      });
      
                      // Show Frontpage
                      $("#fpEditorClosed").click(function () {
      
                          {
                              $("#fpEditorClosed").hide("normal");
                              $("#fpEditor").show("normal");
      
                          }
      
                      });
      
                  });
                  
              </script>
              
                  <link rel="stylesheet" type="text/css" href="/assets/components/frontpage/css/style.css" />
                  <!--[if IE]><link rel="stylesheet" type="text/css" href="ie.css" /><![endif]-->
                  <!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="ie7.css" /><![endif]-->
                  </head>
      <body>
                  <div id="fpEditorClosed"></div>
                  <div id="fpEditor">
                  <a id="fpClose" class="fpButton fpClose" href="#" onclick="javascript: return false;">Close Me</a>
                  <ul>
                  <li><a id="fpLogoClose" class="fpClose" href="#" onclick="javascript: return false;"></a></li>
                  
                          <li>
                          <a onClick="javascript:FrontPage.edit=1;return false;" class="fpButton fpEdit colorbox" href="index.php?id=5&frontpage=1&source=1"><span> Edit</span></a>
                          </li>
                          
                          <li>
                          <a onClick="javascript: FrontPage.create=1;return false;" class="fpButton fpCreate colorbox" href="index.php?id=3&frontpage=1&source=1&parent=0"><span> Create</span></a>
                          </li>
                          
                  </ul>
                  </div>
      <H1>Hello World</H1>
      <div class="loginMessage"></div>
      <br />
      <div class="loginLogin">
          <div class="loginRegister">
              <a href="/?service=logout" title="Logout">Logout</a>
          </div>
      </div>
      </body>
      </html>
      


      If anybody can help, I'd appreciate it. Thanks.
        • 6488
        • 23 Posts
        Update:

        I upgraded to 2.2.4 and clicked the "reinstall" button for frontpage in the package manager. Here is the log output:

        Console running...
        Attempting to install package with signature: frontpage-1.4.0-beta
        Package found...now preparing to install.
        Grabbing package workspace...
        Workspace environment initiated, now installing package...
        Error 42S22 executing statement: Array ( [0] => 42S22 [1] => 1054 [2] => Unknown column 'modPluginEvent.name' in 'where clause' )
        Error 23000 executing statement: INSERT INTO `modx_site_plugin_events` (`pluginid`, `event`, `priority`, `propertyset`) VALUES (1, '', 0, 0) Array ( [0] => 23000 [1] => 1062 [2] => Duplicate entry '1-' for key 'PRIMARY' )
        Error saving vehicle object of class modPluginEvent; criteria: Array ( [name] => )
        Could not install related objects with locally owned keys for vehicle object of class modPlugin; criteria: Array ( [name] => Frontpage )
        Attempting to attach plugin to event OnWebPagePrerender
        Error 23000 executing statement: INSERT INTO `modx_site_plugin_events` (`pluginid`, `event`, `priority`, `propertyset`) VALUES (1, 'OnWebPagePrerender', 0, 0) Array ( [0] => 23000 [1] => 1062 [2] => Duplicate entry '1-OnWebPagePrerender' for key 'PRIMARY' )
        Cannot link plugin to event
        xPDOVehicle resolver failed: type php (/home1/user/public_html/mydomain/core/packages/frontpage-1.4.0-beta/modResource/9a67cf0a134f7254d25ef537b6715e11.resolver.resolver)
        Attempting to preserve files at /home1/user/public_html/mydomain/assets/components/frontpage into archive /home1/user/public_html/mydomain/core/packages/frontpage-1.4.0-beta/modResource/9a67cf0a134f7254d25ef537b6715e11.1.preserved.zip
        Attempting to preserve files at /home1/user/public_html/mydomain/core/components/frontpage into archive /home1/user/public_html/mydomain/core/packages/frontpage-1.4.0-beta/modResource/9a67cf0a134f7254d25ef537b6715e11.2.preserved.zip
        Successfully installed package frontpage-1.4.0-beta
        


        I still get the same results as before, and the same error for OnWebPagePrerender.

        Please help me fix this.

        Thanks,
        -Dan [ed. note: danlanphear last edited this post 14 years, 2 months ago.]