Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

2496 Posts in 733 Topics by 543 members

Customising the CMS

SilverStripe Forums » Customising the CMS » decorated Member class - problem with forms [UPDATED]

Page: 1
Go to End
Author Topic: decorated Member class - problem with forms [UPDATED] 314 Views
  • dospuntocero
    avatar
    Community Member
    39 posts

    decorated Member class - problem with forms [UPDATED] Link to this post

    Hi guys, im trying to make a custom section for clients in my webpage, and im facing problems with the forms in the front end, in the cms the data is saved without problems at all but i cant manage to make it work in the front.

    i have attached the full files for anyone that could help

    in my _config i have this rule:

    Director::addRules(100, array('my-account//$Action/$Form' => 'ClientForms_Controller'));
    Object::add_extension('Member', 'Client');

    [UPDATE: working with the help of willr now i dont have any errors on the forms, but still dont save the content to the member decorated class]

    code used:

    http://www.pastie.org/415203
    http://www.pastie.org/415204

    i have a Director::addRules(100, array('my-account//$Action/$Form' => 'ClientForms_Controller'));

    in my config the main idea is to use the exact code in front and cms forms to retrieve data, and separating kinds of data i have 3 forms, personal, emergency and basic info in the cms you look at the posted info this way http://skitch.com/dospuntocero/b86tk/silverstripe-cms-site-content and in the frnt pages http://skitch.com/dospuntocero/b86t4/aventuras-patagonicas-aconcagua-s-best-choice
    the urls decide wich form to load depending on the menu but sadly i cant make the front end forms to save the information yes the images are for the cms view of the info and the website version

    Attached Files
    314 Views
Page: 1
Go to Top

Currently Online: Euphemismus

Welcome to our latest member: GreenWork

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

Comments on this website? Please give feedback.