Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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 
  • Like 1
Posted

@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.
 

Posted

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?

Posted

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?

  • Like 1
Posted

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

Posted

I eventually tracked down the issue, it related to a historical version of proDrafts. Once draft was unticked front-end editing worked ?

image.png.98bf550869f0c6978e4085dd992e6f72.png

  • Like 2
  • 2 weeks later...
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...