Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

756 Posts in 191 Topics by 245 members

Blog Module

SilverStripe Forums » Blog Module » <% control BlogEntries %>

Discuss the Blog Module.

Page: 1
Go to End
Author Topic: <% control BlogEntries %> 480 Views
  • MrHyde
    avatar
    Community Member
    23 posts

    <% control BlogEntries %> Link to this post

    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?

  • MrHyde
    avatar
    Community Member
    23 posts

    Re: <% control BlogEntries %> Link to this post

    Found a solution on my own.

    480 Views
Page: 1
Go to Top

Currently Online: There is nobody online.

Welcome to our latest member: Newclear

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

Comments on this website? Please give feedback.