Jon Posted February 13, 2024 Posted February 13, 2024 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
ngrmm Posted February 16, 2024 Posted February 16, 2024 @Jon Do you have any Errors or warning in the browser console? Or any hints in the PW Logs?
Jon Posted February 16, 2024 Author Posted February 16, 2024 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.
bernhard Posted February 16, 2024 Posted February 16, 2024 Are there any of my modules involved? I think @Stefanowitsch we had a similar issue some time ago??
Jon Posted February 16, 2024 Author Posted February 16, 2024 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
ngrmm Posted February 18, 2024 Posted February 18, 2024 @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.
Jon Posted February 21, 2024 Author Posted February 21, 2024 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?
ngrmm Posted February 21, 2024 Posted February 21, 2024 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
Jon Posted February 21, 2024 Author Posted February 21, 2024 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
Jon Posted February 26, 2024 Author Posted February 26, 2024 I eventually tracked down the issue, it related to a historical version of proDrafts. Once draft was unticked front-end editing worked ?. 2
Ushavilash Posted March 7, 2024 Posted March 7, 2024 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.
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