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.

General Questions /

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

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

Translatable and children of "holder" page


Go to End
Reply


2 Posts   1047 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.