1267 Posts in 351 Topics by 486 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1370 Views |
-
Customize a template - Question

21 March 2009 at 7:06am
Hello,
This afternoon, I tried to make a new version of my design with 2.3.1.
In my website, I have this kind of tree :
- Home...
- Blog
- Contact....
...In my Blog, I ve got the widget and I have the last 10 last posts.
Now I would like to have these 10 last posts in Home, Contact.... How can I do ?
I tried to modify the template in themes/mytheme/ but nothing appears with this code. (page.ss, layout/page.ss,layout/sidebar.ss in blackcandy)
<ul>
<% control FeedItems %>
<li>
<a href="$Link">$Title</a>
</li>
<% end_control %>
</ul>
[/i}If you could help me ;)
-
Re: Customize a template - Question

23 March 2009 at 1:47pm
I also wanted to do the same and the following thread showed me what to do - at least it will tell you what has to be done.
http://silverstripe.org/blog-module-forum/show/254124#post254124
Hope that helps,
George
| 1370 Views | ||
|
Page:
1
|
Go to Top |


