Jump to:

1851 Posts in 1606 Topics by 561 members

Blog Module

SilverStripe Forums » Blog Module » Virtual pages + BlogHolder

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 872 Views
  • richard-ward
    Avatar
    Community Member
    31 Posts

    Virtual pages + BlogHolder Link to this post

    Hi,

    I have the following page structure:

    SiteRoot
    |-- Page 1 (Page)
    |-- Page 2 (Page)
    |-- Page 3 (BlogTree)
    | - - |-- Blog 1 (BlogHolder)
    | - - |-- Blog 2 (BlogHolder)
    | - - |-- Blog 3 (BlogHolder)
    | - - |-- Blog 4 (BlogHolder)
    |-- Page 4 (Page)
    | - - |-- Blog 2 (VirtualPage)
    |-- Page 5


    As you can see, I would like to have a virtual page under "Page 4" which shows "Blog 2". Ideally I would like to be able to hide "Blog 2" under "Page 3" by using the "do not show in menu" function. However, if it is set not to show under "Page 3", it does not show under "Page 4".

    For the time being, I am allowing the page to be visible in both menus, but am getting the following error when going to the VirtualPage:

    Fatal error: Call to a member function latestParam() on a non-object in ***/blog/code/BlogTree.php on line 310

    Any ideas?

  • richard-ward
    Avatar
    Community Member
    31 Posts

    Re: Virtual pages + BlogHolder Link to this post

    Sorry to bump this, but does no-one have any ideas?

  • yug
    Avatar
    Community Member
    17 Posts

    Re: Virtual pages + BlogHolder Link to this post

    Please someone....i also have this problem

    872 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.