Jump to:

23361 Posts in 18124 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » comment in gallery page

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: 822 Views
  • bebabeba
    Avatar
    Community Member
    192 Posts

    comment in gallery page Link to this post

    Hi!
    If I add comment in my gallery page i can't resize image and I have the following error:

    $("lightwindow_navigation") is null
    [Break on this error] $('lightwindow_navigation').setStyle({

    so lightbox seems not work. If I disable comments everythig is ok..help please..

  • dendeffe
    Avatar
    Community Member
    135 Posts

    Re: comment in gallery page Link to this post

    Might be a jQuery conflict with other script. See posts around the forum like this: http://ssorg.bigbird.silverstripe.com/form-questions/show/279312#post279312

  • bebabeba
    Avatar
    Community Member
    192 Posts

    Re: comment in gallery page Link to this post

    Hi!
    I try your solution but nothing change..other idea?

  • dendeffe
    Avatar
    Community Member
    135 Posts

    Re: comment in gallery page Link to this post

    You can add comment templates in your theme folder.

    themes/yourtheme/templates/PageCommentInterface_singlecomment.ss
    themes/yourtheme/templates/PageCommentInterface.ss

    Start with both of these templates empty to see if everything works. If it does, you can systematically start adding code from the default Comment templates (they’re in cms/templates) to see where your problem starts and work from there.

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