Jump to:

655 Posts in 2084 Topics by 163 members

Releases and Announcements

SilverStripe Forums » Releases and Announcements » Blog 0.2.0rc1

Latest news about the SilverStripe software.

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

Page: 1
Go to End
Author Topic: 2256 Views
  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Blog 0.2.0rc1 Link to this post

    The first release candidate for version 0.2.0 of the blog module has been released. This version adds support for SilverStripe 2.3, as well
    as containing a number of new features and bugfixes. The full list of changes is below. Please help test the blog module and report any bugs that you find.

    http://silverstripe.org/assets/downloads/modules/blog-0.2.0-rc1.tar.gz

    Features
       - Blogs can now be configured to use HTML instead of BBCode
       - Tags now follow the rel-tag microformat standard
       - Blog module is now translatable
       - The entries shown on the BlogHolder when not browsing by date/tag can now be restricted to only show entries that are younger than a user specified age
       - The RSS feed name can now be changed in the CMS
       - Added support for receiving trackback pings
       - Added SubscribeRSSWidget for linking directly to the blog RSS feed
       - Tag widget title is now editable
       - Added empty relationship statics so BlogEntry and BlogHolder can be decorated by a DataObjectDecorator
       - Use pagination summary, so a full list of pages isnt generated
       - Added Date variable to RSSWidget feed items, so Date can be used in template if wanted
       - Cast Title variable on RSSWidget feed items, so Title can have Text functions called in the template if wanted
       
    Bugfixes
       - Removed deprecated calls to sapphire, and made other fixes to support sapphire 2.3.0
       - Don't use PHP short tags
       - Don't display $Content on a BlogHolder, as it isnt editable in the CMS
       - Prevent infinite loops when an RSSWidget on a blog points to itself
       - Fix URL segment generation
       - RSS feed is now sorted by date, newest first
       - Fixed pagination
       - Fixed summaries on BlogHolder
       - Fixed issues with display by month when blog post is on last month of the day
       - BlogEntry::Tags() was renamed to TagsCollection() to prevent conflicts with the database fields called Tags
       - Fixed invalid use of single quotes in BlogEntryForm HTML
       - Fixed extra <p> tags around blog content
       - Default parent needs to be a string instead of an array
       - Fixed escaping in BlogHolder
       - Use themedCSS instead of hardlinking paths
       - Fixed rss feed caching
       - Fixed archive widget showing months and years for unpublished posts
       - SetDate doesn't need to be called, as the date is automatically set

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Blog 0.2.0rc1 Link to this post

    Good to get another release of Blog out

  • wagnerma
    Avatar
    Community Member
    12 Posts

    Re: Blog 0.2.0rc1 Link to this post

    I am completely new to SilverStripe, so the possiblity that I do something wrong is high ;-), anyway I have a problem to integrate a blog into a template:

    I have a template "Aktuelles.ss" and tried to extend the BlogHolder/Controller class:

    <?php

    class Aktuelles extends BlogHolder {
    }

    class Aktuelles_Controller extends BlogHolder_Controller {

    }

    ?>

    In my file Aktuelles.ss I try to use the blog:

    <div id="subcontent">
    <div class="small picturebox textcenter"><img src="themes/wagnerecht/images/tanja_klein.jpg"><strong>RAin Tanja Wagner</strong></div>
    <div class="small picturebox textcenter"><img src="themes/wagnerecht/images/anwaltsvlogo.jpg"></div>
    </div>
    <div id="content">
    <h1>$Title</h1>
    <% include BlogSideBar %>

    <div id="BlogContent" class="blogcontent typography">
       
       <% include BreadCrumbs %>
       
       <% if Tag %>
          <h3><% _t('VIEWINGTAGGED', 'Viewing entries tagged with') %> '$Tag'</h3>
       <% end_if %>
       
       <% if BlogEntries %>
          <% control BlogEntries %>
                <% include BlogSummary %>
          <% end_control %>
       <% else %>
          <h3><% _t('NOENTRIES', 'There are no blog entries') %></h3>
       <% end_if %>
       
       <% include BlogPagination %>
       
    </div>
    </div>

    Now the blog is shown, but I also get internationalization errors (the site is in german):

    Notice: Undefined index: Action in C:\projects\tanja\env\wamp2f\www\silverstripe\sapphire\core\control\Director.php on line 219

    Notice: Array to string conversion in C:\projects\tanja\env\wamp2f\www\silverstripe\sapphire\core\control\Director.php on line 358

    FATAL ERROR: i18n::include_by_class: Class Aktuelles.ss not found
    At line 1259 in C:\projects\tanja\env\wamp2f\www\silverstripe\sapphire\core\i18n.php

    user_error(i18n::include_by_class: Class Aktuelles.ss not found,512)
    line 1259 of i18n.php

    i18n::include_by_class(Aktuelles.ss)
    line 132 of Core.php

    _t(Aktuelles.ss.VIEWFULL,View full post titled -)
    line 61 of .cacheC..projects.tanja.env.wamp2f.www.silverstripe.themes.wagnerecht.templates.Layout.Aktuelles.ss

    include(C:\WINXP\Temp\silverstripe-cacheC--projects-tanja-env-wamp2f-www-silverstripe\.cacheC..projects.tanja.env.wamp2f.www.silverstripe.themes.wagnerecht.templates.Layout.Aktuelles.ss)
    line 197 of SSViewer.php

    SSViewer->process(Aktuelles_Controller)
    line 189 of SSViewer.php

    SSViewer->process(Aktuelles_Controller)
    line 296 of Controller.php

    Controller->defaultAction(index)
    line 279 of BlogHolder.php

    BlogHolder_Controller->defaultAction(index,Array)
    line 267 of Controller.php

    Controller->run(Array)
    line 22 of ModelAsController.php

    ModelAsController->run(Array)
    line 27 of RootURLController.php

    RootURLController->run(Array)
    line 104 of Director.php

    Director::direct(/)
    line 158 of main.php
    Context
    Debug (Debug::showError() in line 180 of Debug.php)

    * class =

    Aktuelles.ss

    * module =

    Notice: Array to string conversion in C:\projects\tanja\env\wamp2f\www\silverstripe\sapphire\core\control\Director.php on line 358

    FATAL ERROR: i18n::include_by_class: Class Aktuelles.ss not found
    At line 1259 in C:\projects\tanja\env\wamp2f\www\silverstripe\sapphire\core\i18n.php

    user_error(i18n::include_by_class: Class Aktuelles.ss not found,512)
    line 1259 of i18n.php

    i18n::include_by_class(Aktuelles.ss)
    line 132 of Core.php

    _t(Aktuelles.ss.POSTEDBY,Posted by)
    line 74 of .cacheC..projects.tanja.env.wamp2f.www.silverstripe.themes.wagnerecht.templates.Layout.Aktuelles.ss

    include(C:\WINXP\Temp\silverstripe-cacheC--projects-tanja-env-wamp2f-www-silverstripe\.cacheC..projects.tanja.env.wamp2f.www.silverstripe.themes.wagnerecht.templates.Layout.Aktuelles.ss)
    line 197 of SSViewer.php

    SSViewer->process(Aktuelles_Controller)
    line 189 of SSViewer.php

    SSViewer->process(Aktuelles_Controller)
    line 296 of Controller.php

    Controller->defaultAction(index)
    line 279 of BlogHolder.php

    BlogHolder_Controller->defaultAction(index,Array)
    line 267 of Controller.php

    Controller->run(Array)
    line 22 of ModelAsController.php

    ModelAsController->run(Array)
    line 27 of RootURLController.php

    RootURLController->run(Array)
    line 104 of Director.php

    Director::direct(/)
    line 158 of main.php
    Context
    Debug (Debug::showError() in line 180 of Debug.php)

    * class =

    Aktuelles.ss

    * module =

    Notice: Array to string conversion in C:\projects\tanja\env\wamp2f\www\silverstripe\sapphire\core\control\Director.php on line 358

    FATAL ERROR: i18n::include_by_class: Class Aktuelles.ss not found
    At line 1259 in C:\projects\tanja\env\wamp2f\www\silverstripe\sapphire\core\i18n.php

    user_error(i18n::include_by_class: Class Aktuelles.ss not found,512)
    line 1259 of i18n.php

    i18n::include_by_class(Aktuelles.ss)
    line 132 of Core.php

    _t(Aktuelles.ss.POSTEDON,on)
    line 82 of .cacheC..projects.tanja.env.wamp2f.www.silverstripe.themes.wagnerecht.templates.Layout.Aktuelles.ss

    include(C:\WINXP\Temp\silverstripe-cacheC--projects-tanja-env-wamp2f-www-silverstripe\.cacheC..projects.tanja.env.wamp2f.www.silverstripe.themes.wagnerecht.templates.Layout.Aktuelles.ss)
    line 197 of SSViewer.php

    SSViewer->process(Aktuelles_Controller)
    line 189 of SSViewer.php

    SSViewer->process(Aktuelles_Controller)
    line 296 of Controller.php

    Controller->defaultAction(index)
    line 279 of BlogHolder.php

    BlogHolder_Controller->defaultAction(index,Array)
    line 267 of Controller.php

    Controller->run(Array)
    line 22 of ModelAsController.php

    ModelAsController->run(Array)
    line 27 of RootURLController.php

    RootURLController->run(Array)
    line 104 of Director.php

    Director::direct(/)
    line 158 of main.php
    Context
    Debug (Debug::showError() in line 180 of Debug.php)

    * class =

    Aktuelles.ss

    * module =

    Notice: Array to string conversion in C:\projects\tanja\env\wamp2f\www\silverstripe\sapphire\core\control\Director.php on line 358

    FATAL ERROR: i18n::include_by_class: Class Aktuelles.ss not found
    At line 1259 in C:\projects\tanja\env\wamp2f\www\silverstripe\sapphire\core\i18n.php

    user_error(i18n::include_by_class: Class Aktuelles.ss not found,512)
    line 1259 of i18n.php

    i18n::include_by_class(Aktuelles.ss)
    line 132 of Core.php

    _t(Aktuelles.ss.COMMENTS,Comments)
    line 98 of .cacheC..projects.tanja.env.wamp2f.www.silverstripe.themes.wagnerecht.templates.Layout.Aktuelles.ss

    include(C:\WINXP\Temp\silverstripe-cacheC--projects-tanja-env-wamp2f-www-silverstripe\.cacheC..projects.tanja.env.wamp2f.www.silverstripe.themes.wagnerecht.templates.Layout.Aktuelles.ss)
    line 197 of SSViewer.php

    SSViewer->process(Aktuelles_Controller)
    line 189 of SSViewer.php

    SSViewer->process(Aktuelles_Controller)
    line 296 of Controller.php

    Controller->defaultAction(index)
    line 279 of BlogHolder.php

    BlogHolder_Controller->defaultAction(index,Array)
    line 267 of Controller.php

    Controller->run(Array)
    line 22 of ModelAsController.php

    ModelAsController->run(Array)
    line 27 of RootURLController.php

    RootURLController->run(Array)
    line 104 of Director.php

    Director::direct(/)
    line 158 of main.php
    Context
    Debug (Debug::showError() in line 180 of Debug.php)

    * class =

    Aktuelles.ss

    * module =

    So the question is, do I somthing wrong? Is there a problem with internationalization?

    Thanks for the help,
    Marcel

    2256 Views
Page: 1
Go to Top

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

Comments on this website? Please give feedback.