Coder Social home page Coder Social logo

Comments (4)

purplespider avatar purplespider commented on August 30, 2024

Any thoughts on this? Just had another client contact me about the issue :(

I think it's something to do with the ID of the page with the gridfield not being passed though.

from silverstripe-dashboard.

unclecheese avatar unclecheese commented on August 30, 2024

It's a really tricky problem to solve. The ?ID parameter in the URL sets the currentPageID in the CMS, which informs the EditForm/field/YourGridField that the parent EditForm has a GridField name YourGridField. If the ID doesn't come through, you just get a generic page edit form, so /field/YourGridField 404s.

We probably need to route these requests through a proxy that sets the currentPageID in the session, and then redirects to the GridField edit URL:

/admin/dashboard/panel/2/gotogrid?pageid=35&grid=StaffMembers

aaron_carlino {
"web developer": "leftandmain.com"
}

On Tuesday, 19 November 2013 at 4:05 AM, James Cocker wrote:

Any thoughts on this? Just had another client contact me about the issue :(
I think it's something to do with the ID of the page with the gridfield not being passed though.


Reply to this email directly or view it on GitHub (#45 (comment)).

from silverstripe-dashboard.

unclecheese avatar unclecheese commented on August 30, 2024

This is resolved in 163c339

from silverstripe-dashboard.

purplespider avatar purplespider commented on August 30, 2024

Thanks Aaron, the fix seems to work perfectly!

from silverstripe-dashboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.