The last update does not solve 2 of the errors I mentioned before .
ERROR 1
'Bloglist' does not contain a method 'blogPosts' (inside the default.html for the bloglist component). Could you please change the line N°5 From :
{% for post in __SELF__.blogPosts %}
To :
{% for post in blogPosts %}
ERROR 2
The proBlog Post component shows a 404 error, no post is displayed anymore. I had to change 'Post.php' by adding a class variable named post ($this->post). Could you change 'Post.php' From :
class Post extends ComponentBase
{
public function componentDetails()
To :
class Post extends ComponentBase
{
public $post;
public function componentDetails()
I tried to add the bloglist component on the page that displays a blog post but it did not change anything. So I think everyone is having the same problems.
Regards, Pascal
Last updated