Jump to:

1840 Posts in 1599 Topics by 557 members

Blog Module

SilverStripe Forums » Blog Module » Pictures in Blog entries?

Discuss the Blog Module.

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

Page: 1 2
Go to End
Author Topic: 3741 Views
  • Erikh112
    Avatar
    Community Member
    9 Posts

    Re: Pictures in Blog entries? Link to this post

    this entry doesn't work at my project.
    could you please show me your code in your _config.php file ?

    Thanks

  • Rishi
    Avatar
    Community Member
    97 Posts

    Re: Pictures in Blog entries? Link to this post

    You simply need to add the below given line in /mysite_config.php
    You can add this line at the end of the file just before ?>

    BlogEntry::allow_wysiwyg_editing();

  • Agni
    Avatar
    Community Member
    5 Posts

    Re: Pictures in Blog entries? Link to this post

    Hello everyone,

    I'm sure this is a simple thing but I don't have a lot of experience with coding. I've added the BlogEntry::allow_wysiwyg_editing('true');
    coding which has allowed me to use the editor in the CMS. This works out great now.

    When I view a Full blog post everything looks right. E.G. Pictures show up and links are active.

    When I view the /blog page (with all of the blog posts) it does not display the links properly and no pictures are shown. The links show up as basic text only.

    I'm sure there is a simple setting that needs to be changed but looking through the forums I haven't found it. I did try a bunch of things in the forum but none of them seem to fix this.

    Any help would be greatly appreciated!

    Thanks,

    Agni

    *NOTE* After re-reading some of the other forum posts I did find the answer to my problem above. The answer is found at the following link: http://www.silverstripe.org/archive/show/10328?start=0#post10347

    The Paragraph Summary section needs to be updated as per the instructions in the link above.

    Excellent!

  • Agni
    Avatar
    Community Member
    5 Posts

    Re: Pictures in Blog entries? Link to this post

    I actually do have one small bug right now.

    The /blog page doesn't show up correctly in Internet Explorer (version 6.0). Haven't checked 8.0. It looks fine in Firefox though.
    And it looks fine if you go to a particular month (e.g. January 2010).

    For some reason in the /blog page the text doesn't start until below the left sidebar. It looks like the blog is empty on my monitor.

    If anyone wants to take a look you can go here:

    http://www.thehappymonks.com/blog/

    Under January 2010 it looks fine here:

    http://www.thehappymonks.com/blog/2010/01

    I'm sure this is a little thing and I would appreciate if someone had a suggestion.

    Thanks so much,

    Agni

  • honeybunny
    Avatar
    Community Member
    79 Posts

    Re: Pictures in Blog entries? Link to this post

    Hi Agni!
    I'm definitely a designer rather than a developer, but I looked at your site in FF3.5 and IE8 and it looks fine. Did you fix the problem? It's very possible that it is a compatibility issue between your css and IE6.

    Good Luck!

    HB

    3741 Views
Page: 1 2
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.