- TagCloudWidget not wrapped with if(class_exists('Widget')) check for dependency module
- Default titles for RSS Widget and TagCloudWidget not being translated.
- Fixed poor indentation, and excessive line length (scrutinizer errors)
- Removal of several blank 'private static $relation = array()' that added no value
- Missing PHPDoc for widget classes
- Fixed missing EOL and removed closing ?> from php files for consistency
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.
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.
It was disabled since migrating the module to SS3,
and the whole concept has become less relevant since spammers discovered trackbacks
(ref http://en.wikipedia.org/wiki/Trackback#Spam).
Since we don't have the resources to make a spam-proof trackback system,
its prudent to remove it instead.
Inside of 'code/BlogEntry.php' the method TagsCollection() 'urlencode's the tag before making it into a link. Tags with spaces, and other special characters, will not return any BlogEntries from BlogTree::Entries().
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"
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.
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.