1500 Posts in 413 Topics by 448 members
Blog Module
SilverStripe Forums » Blog Module » <% control BlogEntries %>
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 918 Views |
-
<% control BlogEntries %>

15 January 2009 at 2:59am
Hi, i did this to my blog module and need some help.
BlogHolder.php
class BlogHolder extends Page {
static $db = array(
'AnyText' => 'Varchar(30)',
);
...BlogHolder.ss
<% if BlogEntries %>
<% control BlogEntries %>
<% include BlogSummary %>
<% end_control %>$AnyText
<% else %> ...$AnyText displays by using the code above. But i cant use it inside the <% control BlogEntries %>-tag. Any solutions?
| 918 Views | ||
|
Page:
1
|
Go to Top |
