Commit Graph

341 Commits

Author SHA1 Message Date
Ingo Schommer eb7f7488f1 Check for if(class_exists('Widget')) in TagCloudWidget 2013-07-17 09:20:03 +02:00
Ingo Schommer 6c1dc6fc87 Merge pull request #87 from PutmanMedia/pulls/tinymce-fix
Fix BlogHolder::BlogEntryForm() to call tinyMCE.init() if required
2013-04-29 03:58:30 -07:00
madmatt a15bc7a75d Fix PUT-221 - BlogEntryForm needs an explicit call to Requirements::javascript() when Requirements::set_suffix_requirements(true) is called. 2013-04-29 20:36:18 +12:00
Ingo Schommer 5e9e8e4e8c Fixed BlogEntryForm saving regression from df544e01f
Was saving to live before overwriting with draft again.
Since no write to draft ocurred before, this broke
the publish() call - e.g. visible by the test breakage
in BlogHolderFunctionalTest.
2013-04-29 09:59:35 +02:00
Ingo Schommer 23a7ab8cb4 Merge pull request #83 from silverstripe/pulls/widget-decoupling
API Moved "SideBar" widget relation to "widgets" module
2013-04-28 23:58:28 -07:00
Ingo Schommer d1d9452757 API Moved "SideBar" widget relation to "widgets" module
Removed BlogTreeExtension in favour of the new WidgetPageExtension
in the "widgets module". Use the following code to update:

Object::add_extension('BlogTree', 'WidgetPageExtension');
Object::add_extension('BlogEntry', 'WidgetPageExtension');

The template placeholder has been renamed from $SideBar to
$SideBarView. In case you're overriding blog templates,
please adjust accordingly.

This change means that widgets can theoretically be applied
to individual blog entries as well, since they need the
"SideBar" relationship as well. In practice, this defaults
to "InheritSideBar" though, which pulls them from the BlogHolder as usual.
2013-04-16 16:04:44 +02:00
Ingo Schommer 1815eea00a Fixed BlogHolder->providePermissions() declaration
Placed on controller instead of model. Thanks @tractorcow
for pointing this out.
2013-04-14 23:18:00 +02:00
Ingo Schommer ee532292d2 NEW Making widgets dependency optional 2013-04-11 12:35:22 +02:00
Ingo Schommer 966d168119 Improved wording in Blog CMS fields 2013-04-11 01:30:56 +02:00
Ingo Schommer 92b6de1d77 Moved LandingPageFreshness to "Settings" tab
It just adds clutter under the main tab, and pushes
the actually important "Content" field further down the CMS screen
2013-04-11 01:30:56 +02:00
Ingo Schommer 899a81cb79 API Removed BlogTree.Name, use BlogTree.Title instead
We already have $Title and $MenuTitle, I don't really see a common
use case for $Name in addition to that
2013-04-11 01:30:55 +02:00
Ingo Schommer e265ae35e8 NEW Show "post" date and author in CMS list view for blog entries 2013-04-08 00:50:00 +02:00
Ingo Schommer dc4705d23a Update composer.json 2013-04-04 01:13:19 +03:00
Ingo Schommer 2b24153126 Travis support 2013-03-29 10:01:28 +01:00
Ingo Schommer dfc3f2820e Narrowed minimum requrement to 3.0 (not compatible with 3.1) 2013-03-20 10:56:12 +01:00
carlos barberis df544e01f2 BUGFIX: fix post in the front end when not logged in 2013-03-18 11:01:47 +13:00
carlos barberis 2936024e8d MINOR: add widgets module and replace framework for cms 2013-03-01 09:54:48 +13:00
carlos barberis debd7e4e1b Merge pull request #69 from icecaster/patch-1
Fixed RSS Link, using 'rss' as $action param
2013-02-28 12:28:59 -08:00
Ingo Schommer 50b19daca1 Show "selected author" headline when filtering 2013-02-28 17:33:21 +01:00
carlos barberis 1f5aaa51bd Merge pull request #74 from bilekt3/master
Initial support for Czech Language translation
2013-02-19 13:56:29 -08:00
Tomáš Bílek eafcb4da59 Minor: Small corrections to Czech Language translation for BLOG module 2013-02-19 22:30:20 +01:00
Tomáš Bílek 48291f2e86 Major: Added initial support from Czech Language translations 2013-02-19 22:29:31 +01:00
carlos barberis 415392821a Merge pull request #67 from UndefinedOffset/master
Migrate PHP language files to Yaml
2013-02-17 12:15:59 -08:00
carlos barberis c2a6ba5b69 SECURITY: avoid XSS vulnerability within the Tags field in BlogEntry 2013-02-07 13:31:08 +13:00
Sam Minnee ff439a5ac0 Small fix to test 2013-02-01 17:47:53 +13:00
Tim Klein 95eb0d2c38 Fixed RSS Link, using 'rss' as $action param
Fixed RSS Link, using 'rss' as $action param for Link() method on BlogHolder.
This fixes the rss url when removing trailing slashes from page urls
2013-01-18 17:58:34 +13:00
UndefinedOffset 8a5840b0af Auto migrated language files to yaml using i18n_yml_converter module 2012-12-13 10:02:58 -04:00
carlos barberis 6bad5edb9f Merge pull request #64 from cam-findlay/patch-4
Update code/BlogTree.php
2012-11-13 12:30:05 -08:00
cam-findlay de44b90a4a Update code/BlogTree.php
Name of a blog could do with more space than default 50 characters.

Example a blog name with a tagline for consistant branding...

"My Awesome Brand Blog - Servicing customers and good things like that"
2012-11-14 08:50:25 +13:00
carlos barberis 7b92c199c9 Merge pull request #63 from cam-findlay/patch-3
Update code/BlogHolder.php
2012-11-12 14:27:36 -08:00
cam-findlay 553b5686d7 Update code/BlogHolder.php
fix to the ownerID issue with BlogHolder.php was previously storing the ID of the downdown select having been renumbered from 0, now stores the actual Member->ID of the blog owner.
2012-11-13 09:59:48 +13:00
Ingo Schommer 4c30a80963 Composer installer dependency for correct module path 2012-11-01 17:08:44 +01:00
Will Rossiter 2cb9414b5a Merge pull request #60 from cam-findlay/patch-1
FIX Update to RSSFeed SS3 API.
2012-10-28 00:47:59 -07:00
cam-findlay e441b4e690 Update code/BlogTree.php
BUGFIX missing return for rss feeds
2012-10-28 16:21:46 +13:00
Saophalkun Ponlu 289940b7e7 Add an option show full blog entry on the holder
https://github.com/silverstripe/silverstripe-blog/issues/57
2012-10-18 10:10:16 +13:00
carlos barberis 59731c2b13 Merge pull request #58 from lrc/page-details-fix
BUGFIX Specify names and improve descriptions for page types.
2012-10-08 17:25:45 -07:00
Simon Elvery 17421c9965 BUGFIX Specify names and improve descriptions for page types. 2012-10-09 10:14:31 +10:00
carlos barberis cfa7410cf2 BUGFIX: replace deprecated DataObjectSet for ArrayList 2012-10-05 09:32:49 +13:00
Will Rossiter 40d704a0d7 Merge pull request #54 from mateusz/patch-1
Update README.md
2012-10-02 00:05:10 -07:00
Mateusz U 87576d419e Update README.md
Added required dependency.
2012-10-02 16:35:11 +13:00
carlos barberis b1f4a4f5b1 BUGFIX: Fix blog management widget to work with comments module 2012-10-01 14:54:22 +13:00
carlos barberis efbbba6a79 MINOR: add emails to composer (manually merge from pull request #53) 2012-10-01 10:50:37 +13:00
Will Rossiter 391d43f296 Merge pull request #52 from vikas-srivastava/composer
Bug : Removed errors from Composer.json
2012-09-29 21:53:26 -07:00
vikas srivastava 0eed8de60c Bug : Removed errors from Composer.json
Contains some minor bugs :

1 - JSON doesn't allow multi line string so making "description" field in single line.

2 - Few typo errors .
2012-09-29 11:15:02 +05:30
Will Rossiter 48d2704d9e Merge pull request #51 from sekjal/master
Add descriptions for blog page types (Fixes #42)
2012-09-25 01:12:00 -07:00
Will Rossiter de0d9e0483 Merge pull request #50 from vikas-srivastava/composer
NEW Add composer.json
2012-09-21 14:17:20 -07:00
Ian Walls 13b10c6331 Issue #42: Descriptions for BlogEntry, BlogHolder and BlogTree
For SilverStripe 3+, descriptions can be shown for each available page type
when pages are created.  This commit adds descriptions for the BlogEntry,
BlogHolder and BlogTree classes, as derived from comments within the code.
2012-09-21 11:39:31 -04:00
vikas srivastava 95eabca7b8 New : Added composer.json
Added composer.json file which will help this module for submission on proposed extension.silverstripe.org website.

For more information please visit this page http://extension.openbees.org/instructions/
2012-09-21 16:32:11 +05:30
carlos barberis 795f1a6a21 BUGFIX: fix blog widgets so their methods are accessible from templates 2012-09-20 16:36:01 +12:00
Saophalkun Ponlu 55895d9515 BUG Fix an issue caused by adding BlogTreeExtension using a wrong api 2012-09-10 20:25:33 +12:00