Jump to:

1841 Posts in 1599 Topics by 558 members

Blog Module

SilverStripe Forums » Blog Module » [url=admin]the CMS[/url]

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 598 Views
  • Josua
    Avatar
    Community Member
    86 Posts

    [url=admin]the CMS[/url] Link to this post

    Hello!

    I installed the blog module.
    The installation create an example blog with the following text:
    ----------------------------
    Congratulations, the SilverStripe blog module has been successfully installed. This blog entry can be safely deleted. You can configure aspects of your blog (such as the widgets displayed in the sidebar) in [ url=admin ]the CMS[ /url ].
    (Note: I put the spaces in [ url=admin ]the CMS[ /url ], because here it appears as a link)
    ----------------------------
    When you see the text in the frontend, the link 'the CMS' is not show as a link, show [ url=admin ]the CMS[ /url ].

    Why is this?
    Do I have to connect something or install something else?

    Thanks,
    Regards,
    Jose A.

  • Willr
    Avatar
    Forum Moderator
    5483 Posts

    Re: [url=admin]the CMS[/url] Link to this post

    [command] is bbcode which the blog module supports but sounds like you have WYSIWYG enabled rather than BBCode.

  • Josua
    Avatar
    Community Member
    86 Posts

    Re: [url=admin]the CMS[/url] Link to this post

    Hello Will,

    I downloaded the blog module from https://github.com/silverstripe/silverstripe-blog

    In my _config.php I don`t have BlogEntry::allow_wysiwyg_editing();
    so should work with BBCode.

    The only way I found to make it work with BBCode is adding this line to my _config.php
    BlogEntry::$allow_wysiwyg_editing = false;

    But should work by default with BBCode.
    Is this correct?

    Do I have to add that line to my _config.php?

    Thanks,
    Regards,

    Jose A.

  • Willr
    Avatar
    Forum Moderator
    5483 Posts

    Re: [url=admin]the CMS[/url] Link to this post

    You can only use one of WYSIWYG or BBCode, not both. By default WYSIWYG is the enabled option (https://github.com/silverstripe/silverstripe-blog/blob/master/code/BlogEntry.php#L43) so yes, if you want to use BBCode you'll have to keep that line in your _config file.

  • Josua
    Avatar
    Community Member
    86 Posts

    Re: [url=admin]the CMS[/url] Link to this post

    Ok.
    Will thank you very much.

    Regards,
    Jose A.

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