We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26903
    • 1,336 Posts
    Frontpage installs its own template named Frontpage in the Frontpage category. This is the one the create and edit pages use. I suggest you create another template from this one, amend it as necessary with your own CSS etc and update the create/edit pages to use the new template, should work.
      Use MODx, or the cat gets it!
      • 31955
      • 84 Posts
      referring to myself 2 posts above, after looking a bit at the sources a can be more precise regarding what I mean: the tinyMCE used by Frontpage should include a working version of the tinymce-plugin "modxlink".
      I managed to include it a bit (search for modx-documents worked), but the "browse"-button was still lacking.
        • 26903
        • 1,336 Posts
        Ok, I’ll look at this, ta
          Use MODx, or the cat gets it!
          • 19597
          • 44 Posts
          I was anxious to try this plugin out so I’ve just installed it now (already had Login installed previously), so I immediately went to test functionality... found a few problems:

          - Although the "Edit" and "Create" buttons are showing up at the top of all pages for my admin login, they aren’t properly formatted (appear to have no css/styling, look very bad that way) - How can I fix this?
          - When actually CLICKING the "Edit" or "Create" buttons, it brings me to a blank white page with no real layout to it, nothing other than the standard form-fields and the save button. Is this by design or did my installer fail to upload some css and template files?
            • 26903
            • 1,336 Posts
            OK, have a look at the extras page for Frontpage on the MODx site, there are 3 screenshots on there that show you what the toolbar(edit/create buttons) should look like and also what the create and edit pages should look like. The create/edit pages have there own template and css layout separate from the page you are editing so these can’t be affected by any underlying site css you may have, the toolbar can be, having said that this does sound like a corruption of some some sort, have a look at the user guide and check that you have installed the elements its lists in its intallation section.
              Use MODx, or the cat gets it!
              • 19597
              • 44 Posts
              I uninstalled and removed the package early this morning, then re-installed again and tried to get this setup properly. During the install I got errors:

              Console running...
              Attempting to install package with signature: frontpage-1.0-beta
              Grabbing package workspace...
              Workspace environment initiated, now installing package...
              Attempting to set system settings
              Attempting to install package with signature: frontpage-1.0-beta
              Package found...now preparing to install.
              Grabbing package workspace...
              Workspace environment initiated, now installing package...
              Attempting to attach plugin to event OnWebPagePrerender
              Attempting to set system settings
              Linking resources to parent
              Attempting to install package with signature: frontpage-1.0-beta
              Package found...now preparing to install.
              Grabbing package workspace...
              Workspace environment initiated, now installing package...
              Error 23000 executing statement: INSERT INTO `modx_site_plugin_events` (`pluginid`, `event`, `priority`, `propertyset`) VALUES (9, '', 0, 0) Array ( [0] => 23000 [1] => 1062 [2] => Duplicate entry '9-' for key 1 )
              Error saving vehicle object of class modPluginEvent; criteria: Array ( [0] => 0 [1] => OnWebPagePrerender )
              Could not install related objects for vehicle object of class modPlugin; criteria: Array ( [name] => Frontpage )
              Attempting to attach plugin to event OnWebPagePrerender
              [color=red]Error 23000 executing statement: INSERT INTO `modx_site_plugin_events` (`pluginid`, `event`, `priority`, `propertyset`) VALUES (9, 'OnWebPagePrerender', 0, 0) Array ( [0] [color=red]=> 23000 [1] => 1062 [2] => Duplicate entry '9-OnWebPagePrerender' for key 1 )
              Cannot link plugin to event
              xPDOVehicle resolver failed: type php (/data/19/2/11/41/2337856/user/2566871/htdocs/core/packages/frontpage-1.0-beta/modResource/90d67b7e53a5a42d2c206ed672b09b86.resolver.resolver)
              Attempting to preserve files at /data/19/2/11/41/2337856/user/2566871/htdocs/assets/components/frontpage into archive /data/19/2/11/41/2337856/user/2566871/htdocs/core/packages/frontpage-1.0-beta/modResource/90d67b7e53a5a42d2c206ed672b09b86.1.preserved.zip[/color]



              I then go to a page to try and edit it and the edit/create bar is still not displaying properly. I press EDIT and I’m brought to a 404 Page Not Found link (URL Says: http://my-site-here.com/&frontpage=1&source=2

              After failing to open the Edit window, the following shows in my error log:
               [2011-02-24 11:05:54] (ERROR @ /index.php) `0` is not a valid integer and may not be passed to makeUrl()
              [2011-02-24 11:05:54] (ERROR @ /index.php) `0` is not a valid integer and may not be passed to makeUrl()
              [2011-02-24 11:05:54] (ERROR @ /index.php) [OnWebPagePrerender]



              These errors have shown up during three installs now, 2 using the Download Manager in MODx Revo, one with a direct download and upload to core/packages from MODx website... any idea what is going wrong? Really appreciate the help smiley
                • 26903
                • 1,336 Posts
                It looks as though its trying to install itself more than once, you should only have this once
                Attempting to install package with signature: frontpage-1.0-beta
                Grabbing package workspace...
                its seems to be breaking the install somehow. Ok, try and force uninstall it, then check the /core/packages directory, remove anything you see named frontpage, check the perms on this directory are corrrect also. Do any other packages install OK?

                  Use MODx, or the cat gets it!
                  • 19597
                  • 44 Posts
                  Quote from: shamblett at Feb 24, 2011, 12:58 PM

                  It looks as though its trying to install itself more than once, you should only have this once
                  Attempting to install package with signature: frontpage-1.0-beta
                  Grabbing package workspace...
                  its seems to be breaking the install somehow. Ok, try and force uninstall it, then check the /core/packages directory, remove anything you see named frontpage, check the perms on this directory are corrrect also. Do any other packages install OK?



                  I’ve successfully installed every Package I’ve tried to use other than TinyMCE which doesn’t display at all for me in my resource editing when I use it (but thats an entirely different subject). Sometimes I notice that when I’m installing a Package, the "Finish" button comes up at the same time as the "Console Running..." box, I thought the Console Running box wasn’t supposed to appear until I’ve clicked Finish?

                  I’ve successfully installed FormIt, Login, getResources, and NewsPublisher (which I uninstalled when I found your package). My error log has never shown anything prior to trying to install and run your package. (Not saying it’s your fault).


                  Regarding the permissions, can you help me out with what the permissions should be set to for that folder?
                    • 19597
                    • 44 Posts
                    Something wrong here and it’s really bothering me that I cannot find it. The pages do not load in jQuery, there is no layout/css to ANYTHING.. I’ve reinstalled clean a dozen times. I even got a full install without a single error and I’m still having the same exact problems that I’ve been having since my first post.


                    Top of pages shows No Styles at all, just a Bulleted List, says CREATE and EDIT in blue links. No buttons, no nothing. When I click on them, I no longer get a 404 error like I did on my last install, now it pulls up a form template, but not in jQuery, in its own separate window without any styling.


                    So it seems to be WORKING ( i can create and edit documents? ) but... I have no styles. Where should I be looking to see if im missing a file or something?
                      • 19597
                      • 44 Posts
                      This is the only error I’m getting in my log on my recent install:

                      [2011-02-24 14:37:38] (ERROR @ /index.php) [OnWebPagePrerender]