1842 Posts in 1600 Topics by 558 members
|Go to End|
18 February 2012 at 8:12am Last edited: 18 February 2012 8:19am
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?
20 February 2012 at 7:36pm
[command] is bbcode which the blog module supports but sounds like you have WYSIWYG enabled rather than BBCode.
21 February 2012 at 12:33am Last edited: 21 February 2012 1:26am
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?
22 February 2012 at 5:55pm
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.
22 February 2012 at 9:02pm
Will thank you very much.
|Go to Top|