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, simon_w

Translatable and children of "holder" page


Reply

2 Posts   865 Views

Avatar
karibe

13 December 2009 at 9:24am Community Member, 56 Posts

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

14 December 2009 at 7:04am Community Member, 279 Posts

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