10446 Posts in 2223 Topics by 1719 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 711 Views |
-
UserForms - get form from control Children

7 December 2010 at 3:35am Last edited: 7 December 2010 3:37am
Hi,
I am trying to build a PageScroller collecting all children pages with <% control Children %>.
One of this pages is a UserForm page. I am able to get the $Content of every normal Page but unfortunately I do not know howto get the form from User itself.
ScrollerPage
-Page
-Page
-UserForm
-PageLayout/ScrollerPage.ss
...
<% control Children %>
<div class="sectionElement">
<div class="elementContent">
$Content
$Form
</div>
</div>
<% end_control %>
...How to get the form itself? Any idea?
patte;-)
-
Re: UserForms - get form from control Children

22 February 2011 at 11:52am
You can't access functions in the Controller of the children pages.
This discussion talks about it and has a possible hack for getting it to work http://www.silverstripe.org/template-questions/show/11730
| 711 Views | ||
|
Page:
1
|
Go to Top |


