Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » ComplexTableField actions & Export to CSV

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1788 Views
  • Dig
    Community Member
    29 Posts

    ComplexTableField actions & Export to CSV Link to this post

    I have a ComplexTableField on a user facing page, that lists some important information for them. Unfortuantely actions don't seem to be possible on this, clicking on show, edit, or export just returns:

    I can't handle sub-URLs of a ... object

    I was wondering if I need to extend or implement some class in order to make it work. Someone else has posted that currentPageID needs to be correct. currentPageID seems to be a LeftAndMain specific things from what I can tell, and I have no idea what the correct value would be.

    Any help would be great.


    EDIT: I fixed it, I was being too clever and not constructing the full form if it wasn't being requested for displaying. Basically any path the exits early before creating the full form with the ComplexTableField in it will break it. Makes sense when you think about it!

    Another problem though, the Export to CSV link on both the user facing pages adn in teh reports section of the admin only point to the base url of the site. Any ideas here?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.