Jump to:

1016 Posts in 567 Topics by 309 members

Forum Module

SilverStripe Forums » Forum Module » Reply doesn't display form

Discuss the Forum Module.

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

Page: 1
Go to End
Author Topic: 1052 Views
  • websage
    Avatar
    Community Member
    6 Posts

    Reply doesn't display form Link to this post

    Hi All,

    I would need help with the following as I don't get any further.
    I am using SS 2.3.2 and forum 0.2.0 on PHP 5.2.3

    My problem: When I click to reply on a topic the reply form doesn't appear. Just the empty template.
    My reply link looks like this: http://www.domain.tld/general-discussion/reply/3

    What I already tried:

    I set up Director::set_environment_type("dev"); in /mysite/_config.php but don't get no error output.
    Then I checked the HTML output: <div id="Content"> </div> holds no content at all.

    Where I can look further?

    Any help is appreciated. Thank you.

    Regards

    Frank

  • websage
    Avatar
    Community Member
    6 Posts

    Re: Reply doesn't display form Link to this post

    I checked getReplyForm() and replyform() in the forum.php to see if permissions are checked correctly.
    All fine. After that I realized there must be something wrong with the template which is a modified one
    based on blackcandy.

    Adding a simple

    <div class="clear"><!-- --></div>

    before the Forumheader line in ForumReply.ss

    <% include ForumHeader %>

    helped to create a correct output of $Content in Page.ss

    Hope it will help anyone someday

  • MarkAB
    Avatar
    Community Member
    30 Posts

    Re: Reply doesn't display form Link to this post

    I know this is an old post but I'm having the same problem myself & have tried making the above edit to my code, but still having no joy. I could REALLY do with some help with this as it's one of the final parts of my site I have left to do - typically it's one of the most important areas too!!

    Thanks in advance for any advice!!

  • MarkAB
    Avatar
    Community Member
    30 Posts

    Re: Reply doesn't display form Link to this post

    Could someone PLEASE tell me how I can get some advice on this please, even if I have to pay for it??

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