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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Translatable and children of "holder" page


Go to End


2 Posts   1271 Views

Avatar
karibe

Community Member, 56 Posts

13 December 2009 at 9:24am

Hello

I have ArtilclePage and ArticlePageHolder duet with Translatable future enabled. I'm observing strange thing, now then I want to ArticlePageHolder display its children( I have such section in ArticlePageHolder.ss ):

			<% if Children %>
			<ul id="children">
			<% control Children %>
			<li>
				<h2><a href="$Link">$Title</a></h2>
				<div id="indention">
				<p>
					$Content.LimitSentences(4)
				</p>	
				</div>
			</li>
			<% end_control %>
			</ul>
			<% end_if %>

And it's working under default language, but the same situation with other (not default language) shows nothing...
How to repair that?

Avatar
baba-papa

Community Member, 279 Posts

14 December 2009 at 7:04am

If you haven´t translated the article pages no article shows.