Jump to:

10990 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Create New Form

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 2757 Views
  • Jonn
    Community Member
    10 Posts

    Re: Create New Form Link to this post

    I'm still trying to get this working, because the Product is a dataobject and the pages are created using renderWith() it looks like the product page uses category controller. I tried creating a controller on the dataobject:

    class Product extends DataObject
    class Product_Controller extends Controller {
    function QuoteForm(){
    $form = new QuoteForm($this, "QuoteForm");
    return $form;

    But then the form stops appearing all together.

  • James Bolitho
    Community Member
    33 Posts

    Re: Create New Form Link to this post

    Hi Jonn,

    Did you ever figure this out? I am facing almost an identical problem and can't seem to figure it out. I have placed my form in the CategoryPage_Controller though which is the only difference in my code I think but it is still coming out with the same error "popCurrent called on $this->class controller, but it wasn't at the top of the stack".

    Any help would be welcomed...


Page: 1 2
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.