Jump to:

5540 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » userforms and layout problem

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

Page: 1
Go to End
Author Topic: 338 Views
  • Cgull
    Avatar
    Community Member
    23 Posts

    userforms and layout problem Link to this post

    Hello,

    I have a site that I develop with the foundation framework.

    I have two questions:

    1.
    I have create a page with the userforms module.

    The page name is: Indemnity and Registration Form

    I am calling this page from a link in another page.

    I created a file called: themes/foundation/templates/Layout/Indemnity-And-Registration-FormPage.ss:

    <div id="regform">
    <div class="row">
       <div class="twelve columns pageTitle">
          <h1>$title</h1>
       </div>
    </div>
    <div class="row">
       <div class="twelve columns">
          $Content
          $Form
       </div>
    </div>
    </div>

    When I open this page from the link, it ignores the layout I have created.

    What am I doing wrong?

    2. Does anyone know the Foundation framework? I am trying to open this page in a pop-up window, so I put it in

    <div id="regform">


    Then in the page that calls this page, I added a link and went to html view and added this:

    <a href="[sitetree_link,id=9]" data-reveal-id="regform"><strong>Register here</strong></a>

    But it keeps deleting this part of the link: data-reveal-id="regform", why is that?

    Thank you

    338 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.