We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30269
    • 119 Posts
    @shamblett - thanks for the updates, but it made no difference. Still the 'Edit' button did not open the window... Reverted to my own small change and now it's ok again...
      • 30269
      • 119 Posts
      Anybody got an idea how to get Frontpage working in multiple contexts ?
        • 30269
        • 119 Posts
        in my case it does not load jQuery.... where should that come from?
          • 30269
          • 119 Posts
          ok... wasted today 4 hours on trying to get it rolling on more than one context... but useless..

          -Google jquery only loads when I add it to template; setting plugin parameters doesnt work
          -Saving does not work it tries to go to www.mysite.comfrontpage

          - pfffff wish we still had old QuickEdit from the evolution version sad((( Client now want CMS made simple... great progress today sad
            • 26903
            • 1,336 Posts
            The latest Frontpage fixes the jQuery issue, it now loads if you set the property value.
              Use MODx, or the cat gets it!
              • 30269
              • 119 Posts
              Thanks shamblett, got it working good now. The property value does not work for me however, it did not include the script. So, finally what I did was include the same jquery script line ( <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> ) in the head of my template. First I included latest version, 1.4.4 but of course browser then loads the file 2x.

              Seems all problems are solved smiley
                • 3109 ☆ A M B ☆
                • 894 Posts
                I seem to be having the same issues with this plugin on 2.1.3 hosted on a Windows 2008 iiS7 with multiple contexts.

                I tried the changes Tom made and have had no luck, also the jquery.colorbox-min.js has an error on the last line.

                
                c.event.trigger("cbox_closed"
                            box_closed ")
                
                


                I changed it to this:

                
                c.event.trigger("cbox_closed", "box_closed ")
                
                


                Any info is welcomed, thanks.
                  Benjamin Marte
                  Interactive Media Developer
                  Follow Me on Twitter | Visit my site | Learn MODX
                  • 3109 ☆ A M B ☆
                  • 894 Posts
                  For those of you having issue with frontpage not working in Revo 2.1.3 go to

                  core>components>frontpage>model>frontpage>frontpage.class.php

                  and paste this from line 319 to 331

                  
                  $(".fpButton").bind("cbox_open", function(){
                                      $("body").css({"overflow":"hidden"});
                                      $("html").css({"overflow":"hidden"});
                                      $("#fpEditor").css({"display":"none"});
                                      	$("#colorbox").css({"display":"block"});
                                  });
                                  $(".fpButton").bind("cbox_closed", function(){
                                      $("body").css({"overflow":"auto"});
                                      $("html").css({"overflow":"auto"});
                                      $("#fpEditor").css({"display":"block"});
                                      	$("#colorbox").css({"display":"none"});
                  
                                  });
                  
                  


                  This will solve your issue of frontpage not displaying the editor when you click on edit or create.

                  Now to see how to get it working with multiple contexts. [ed. note: benmarte last edited this post 15 years ago.]
                    Benjamin Marte
                    Interactive Media Developer
                    Follow Me on Twitter | Visit my site | Learn MODX
                    • 15953
                    • 123 Posts
                    I'm lost. Now that I've installed Frontpage how to I make it available from web context?
                      • 3109 ☆ A M B ☆
                      • 894 Posts
                      Kirkhuyser you need to use the login snippet on the front end in order to use frontpage.

                      This tutorial will help you get started with login.

                      Good luck
                        Benjamin Marte
                        Interactive Media Developer
                        Follow Me on Twitter | Visit my site | Learn MODX