Jon Posted February 13 Share Posted February 13 Hello, I am having trouble getting frontend editing to work on the homepage of my site. Works on every other page apart from the homepage. It looks like maybe jQuery isn't being loaded. Do you have any ideas? Jon Link to comment Share on other sites More sharing options...
ngrmm Posted February 16 Share Posted February 16 @Jon Do you have any Errors or warning in the browser console? Or any hints in the PW Logs? Link to comment Share on other sites More sharing options...
Jon Posted February 16 Author Share Posted February 16 Unfortunately nothing in the logs, the only error in both logs relates to the favicon It's a bit odd as it works perfectly on every other page; I've tried removing everything from the home template and just left the front-end edit code for the body field, but still nothing. Link to comment Share on other sites More sharing options...
bernhard Posted February 16 Share Posted February 16 Are there any of my modules involved? I think @Stefanowitsch we had a similar issue some time ago?? Link to comment Share on other sites More sharing options...
Jon Posted February 16 Author Share Posted February 16 Have a few Module on the site:- Formbuilder Hanna Code Jumplinks Persistent Login Redirects Tracy Debugger Video Markup ProFields MarkupXML MarkupSimpleNavigation 404 Logger Upgrades Video or Social Post Embed 1 Link to comment Share on other sites More sharing options...
ngrmm Posted February 18 Share Posted February 18 @JonI would recommend to rule out the sources of error. Create another page with the same template and test it there. Create another template with the exact same code as your home template. Try different browsers (I know it sounds silly), but you never know. Link to comment Share on other sites More sharing options...
Jon Posted February 21 Author Share Posted February 21 I have done all of the above and still can not get the home page front-end editing to work. The editable area on the home page isn't getting wrapped in the pw-edit id. Any other ideas? Link to comment Share on other sites More sharing options...
ngrmm Posted February 21 Share Posted February 21 So when you create another page (lets call it homepage_new) with the same template as your homepage template, it works and the body of homepage_new is editable in frontend? 1 Link to comment Share on other sites More sharing options...
Jon Posted February 21 Author Share Posted February 21 Yes, that's correct; I have even removed all template code and replaced it with basic HTML, including the edit php and got the same result. Works on all pages apart from home or ID 1 Link to comment Share on other sites More sharing options...
Jon Posted February 26 Author Share Posted February 26 I eventually tracked down the issue, it related to a historical version of proDrafts. Once draft was unticked front-end editing worked ?. 2 Link to comment Share on other sites More sharing options...
Ushavilash Posted March 7 Share Posted March 7 Check the homepage template to check jQuery is included and also verify if there are any conflict or errors in the console that may prevent jQuery from loading. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now