Jump to:

23355 Posts in 17873 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Translatable and children of "holder" page

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

Page: 1
Go to End
Author Topic: 841 Views
  • karibe
    Avatar
    Community Member
    56 Posts

    Translatable and children of "holder" page Link to this post

    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?

  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: Translatable and children of "holder" page Link to this post

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

    841 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.