Yes, checked the javascript paths and they appear correct. I can actually drag just unable to drop - so the javascript must be working. I’ve tested by setting incorrect paths and I am unable to drag in the first instance.
I’ve noticed some other people have similar issue and I was hoping might have a fix.
Hey Jack thanks for the advice, but this fix didn’t work for me. I changed permissions of all structure dirs and files in the module, extension and cp/default directories to 755 recursively.
Using structure 1.3.1 on EE 1.6.8 build 20090915. Never had Pages module installed and I don’t have the CP masked. Any ideas? Thanks in advance. Will cross post in the official 54 page Structure post as well in case Travis is still answering support requests.
UPDATE - sorted it now. For me, the issue was the fact the index.php is hard-coded into the javascript. I’m developing the site at a different URL (since I’m developing on the same server as another live site, so had to change the name of my index file.)
Once I’d changed this in the javascript file, dragging and dropping works. Seems to me that an add-on shouldn’t be making assumptions about my setup like this.
That said, going well so far for my first experience.
Hi Paul,
I’m wondering what javascript file you modified? I’m running MSM with Structure 1.3.1, EE 1.6.8. While the drag and drop works, I also get the error message. I’ve set the permissions as noted above but I’m wondering if it’s a MSM issue? I noticed someone has this same problem posted over on the “official” thread, but I didn’t see a solution posted yet.
Thanks, Eric
The change I made was to do with the path to Expression Engine’s main, client-side homepage (NOT the CP homepage). The javascript file assumes that this file is called “index.php” and is in the root of your webhosting directory. If that’s the case, you should be fine.
If it’s not, then you just need to open up structure.min.js and search for “index.php” and replace that with the name and location of your index.php file (in my case it was index_ee.php). That fixed it for me. When I put the site live, I’ll undo this change, but it gets drag and drop working without the ERROR message. Hope that helps.
Thanks Paul. Unfortunately, this didn’t solve my problem. As a workaround I just removed ‘ERROR’ from the code (same line as where you find index.php). I still get the red dot that appears for a second, but at least there’s no red ‘ERROR’ appearing.
I’m wondering if this is something with MSM. I’ve not run across this before when using Structure on a single domain.
Thanks for your assistance.
Tyssen,
My issue was slightly different than yours. I had the red “error” message but the changes still worked. I removed the error message code in the structure.min.js file, near the bottom of the file. I’m not sure why this was occurring, especially since the changes were taking effect.
I also only experienced this on an MSM install. All other single installations haven’t had this issue. Hope that helps.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.