Jump to:

23368 Posts in 18143 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » Building an static URL Segment

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1054 Views
  • bezarre
    Avatar
    Community Member
    13 Posts

    Building an static URL Segment Link to this post

    Hello,

    I build an form which result/action (FormAction) should be an static URL (setFormAction('TargetForm')).
    But what must I write in Director::addRules that I get only the result with the round about of the page.ss?

    I tried Director::addRules(100,array ('TargetForm'=>'Page')); but then I get the error, that the method 'setsession' doesn't exisits.

    Can someone help me?

    Bez

    1054 Views
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.