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.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

<% control BlogEntries %>


Reply


2 Posts   1244 Views

Avatar
MrHyde

Community Member, 23 Posts

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?

Avatar
MrHyde

Community Member, 23 Posts

15 January 2009 at 6:01am

Found a solution on my own.