I previously used CMS system called Mephisto that run on Ruby on Rails. I'm looking for similar functions with SS and not sure I can figure it out. What I need is:
Latest article titles from section to appear on the template in separate div. For instance three latest titles from the blog section to appear in blog div on template.
I'm sure there is a way to do it. I'm just stupid and can't figure it.
I got it working. Now I'm trying to figure out to do the same with the blog page so it will display few of the blog children. This is what I came up with:
<% if blog %>
<% $Content.LimitWordCount(20) %>
<a href="$Link"> more </a></p>
<% end_if %>
So far no luck but probably I'm doing something wrong again. Also some how I want to limit the number of children instances on the page. If you have ideas it would be great. I'm trying to learn from my mistakes.
Thank you for responding to my post.
So far I have single template to accommodate my website and I'm not sure hot to add a separate template for particular section. In the main content section I have this code:
$Content $Form $PageComments. If I will add this code <% control Children %> as you suggested it will control children of all sections unless it is on the separate template. It would be great if you could suggest how to assign a separate template to a section.