Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Blog problem

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1175 Views
  • HanSolo
    Avatar
    Community Member
    83 Posts

    Blog problem Link to this post

    Hi there.

    I uploaded and installed the blog module. The module works fine I also changed the mysite/_config.php with BlogEntry::allow_wysiwyg_editing(); So i could insert images.

    When i post a blog and look at the blog main page (www.topgear.se) I can see the pictures , but if I click on the comment link the page will instead of showing images it transforms it to html code.

    I also wonder about one more thing, the first blog(iPhone) on my page has some text under the picture. the text does not show. Is it because of the height of my picture.

    Regards
    Joakim

  • HanSolo
    Avatar
    Community Member
    83 Posts

    Re: Blog problem Link to this post

    Anyone got a clue on this problem?

  • simon_w
    Avatar
    Forum Moderator
    467 Posts

    Re: Blog problem Link to this post

    This is probably because you have

    $Content.Parse(BBCodeParser)


    in your Layout/BlogEntry.ss file.

    Change it to

    $ParsedContent

  • HanSolo
    Avatar
    Community Member
    83 Posts

    Re: Blog problem Link to this post

    Hi worked like a charm thanks for the help. I appreciate it.

    Regards
    Joakim

  • HanSolo
    Avatar
    Community Member
    83 Posts

    Re: Blog problem Link to this post

    I also wondered why the text is not showing below some of the pictures on the first page. Simon Do you got a clue on that?

    Joakim

  • simon_w
    Avatar
    Forum Moderator
    467 Posts

    Re: Blog problem Link to this post

    This is because for some of them you start a new paragraph after the image (by having a new line), but the ones with the text below it haven't started a new paragraph (no new line directly after the image).

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