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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

Blog couldn't be shown in a subsite as a subsite virtual page


Go to End


1157 Views

Avatar
musike

Community Member, 3 Posts

3 October 2010 at 5:24am

Hello dear silverstripe developpers and users !

I've installed the last Subsite module and the Blog module on a 2.4 silverstripe version.

--> I've a Blog Holder in the Main site and I am trying to create a "Subsite virtual page" from the subsite which point to the blog holder in my Main site.

If I go to published site to the subsite.mysite.org/blog page, I get an error : Fatal error: Call to a member function latestParam() on a non-object in /homepages/xx/xxxxxxx/htdocs/blog/code/BlogTree.php on line 300

--> However, I can create a "Subsite virtual page" from the subsite which point to each BLOG ENTRIES . In this case, I can access to the entries of the main site, i.e. mysite.org/blogentry1 from subsite.mysite.org/blogentry1

Do you know if it is possible to acces to the blog holder from a subsite and not only to entries ?
Thank you !
musike