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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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