Jump to:

23478 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Strange comments behaviour.

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 982 Views
  • dab
    Community Member
    50 Posts

    Strange comments behaviour. Link to this post

    Hello there.
    Get strange comments data attached to comments metadata, look at screenshot.
    And after adding comment - page redirects to new one, with comment id in URL,
    and this redirection cuts whole page, until this comment, why so?
    You may try how this happens by yourself here -> http://kunstforum.as/psykedelisk-opplevelse-i-fargesprakende-labyrint/
    try to post comments and look how redirection happens.

    Need advice. Thank you.

    Attached Files
  • Willr
    Forum Moderator
    5502 Posts

    Re: Strange comments behaviour. Link to this post

    Because you have spam protection enabled ajax commenting is disabled. This is why you are seeing a redirect.

    The system is designed so after you post a comment you are redirected back down to your comment so you can make sure it has been added correctly. You can see where this redirect takes place by looking in the PageCommentInterface.php class - about line 300 it redirects to the given ID

  • dab
    Community Member
    50 Posts

    Re: Strange comments behaviour. Link to this post

    Thank you, Willr.

    What about strange numbers near comments date?

    Posted by Dmitry, 14/08/2009 5:12am (6.000000e+0r siden)

    And i still dont understand how it is possible to cut page content while linking to specified id.
    Did you saw it?

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.