Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

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

userforms and layout problem


Go to End
Reply


509 Views

Avatar
Cgull

Community Member, 23 Posts

22 January 2013 at 8:13pm

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