Commit Graph

69 Commits

Author SHA1 Message Date
John Learn
8073827328 fix error when tagcloud appears on login page. 2014-03-21 07:20:01 -04:00
Damian Mooyman
d788f6a979 BUG Fixed parsing of spaces and other whitespace in tag clouds. Fixes #59
BUG Fixed incorrect encoding of SelectedAuthor and SelectedTag; Now correctly cast for templates using the `cast` config, not within filtering.
BUG Fixed TagCloudWidget.popularities config from being incorrectly accessed as a static property
BUG Fixed TagCloudWidget::getCMSFields triggering extend('updateCMSFields') twice
BUG Fixed TagCloudWidget::getTagsCollection discarding tag label capitalisation
BUG Fixed TagCloudWidget::getTagsCollection not correctly respecting minimum tag counts (as well as maximum tag counts) when determining the popularity CSS class to assign.
Test cases for TagCloudWidget
API BlogEntry::TagNames now safely extracts tags from a blog entry as an associative 'lowercase' => 'Entered Tag' format
PHPDoc fixes
Removed trailing '?>' tags from PHP files
2014-02-28 17:07:56 +13:00
Will Rossiter
2a25b9459c FIX: resolve virtual page use with widgets.
When using a VirtualPage mapping to a BlogTree, widgets will bypass the instanceof BlogTree check and instead fail to find the current page.
2014-01-28 12:24:31 +13:00
Björn Radon
adbefd648e removed ref to InheritSideBar 2013-10-24 21:21:30 +02:00
Ingo Schommer
e33881615d Merge remote-tracking branch 'origin/0.6'
Conflicts:
	.travis.yml
	README.md
	_config.php
	code/BlogHolder.php
	code/BlogTree.php
	code/widgets/ArchiveWidget.php
	code/widgets/BlogManagementWidget.php
	code/widgets/BlogTreeExtension.php
	code/widgets/RSSWidget.php
	code/widgets/SubscribeRSSWidget.php
	composer.json
2013-04-29 09:26:41 +02: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
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
Sean Harvey
95c8a8490c Fixing static definitions to private for 3.1 compatibility 2013-04-04 15:30:33 +13:00
Sean Harvey
9bbf420e0d Fixing $allowed_actions to be private for 3.1 compatibility 2013-04-04 15:24:53 +13:00
jaredkipe
7e0c58a637 SelectedTag will now 'urldecode' tag.
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().
2013-03-16 18:39:16 -07:00
Ingo Schommer
50b19daca1 Show "selected author" headline when filtering 2013-02-28 17:33:21 +01: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
cam-findlay
e441b4e690 Update code/BlogTree.php
BUGFIX missing return for rss feeds
2012-10-28 16:21:46 +13:00
Simon Elvery
17421c9965 BUGFIX Specify names and improve descriptions for page types. 2012-10-09 10:14:31 +10: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
Saophalkun Ponlu
520721c4f2 Merge pull request #46 from adrexia/ui-improvements
ENHANCEMENT: UI Improvements and template updates
2012-08-28 19:46:37 -07:00
Naomi Guyer
448d34757e ENHANCEMENT: UI Improvements
Replaced the old page icons, and moved where the blog specific fields
appear in the CMS to above the content area
2012-08-17 14:08:43 +12:00
mattclegg
3ae0b78c7d MINOR Amend fallback to return first from DataList 2012-07-30 23:27:45 +01:00
mattclegg
0533ad56e2 MINOR updating previous request for ss3 2012-07-30 22:46:58 +01:00
Saophalkun Ponlu
bf287d9e77 BUGFIX: Fix an error caused Zend_Date::sub() api change 2012-07-15 01:19:09 +12:00
carlos barberis
221f587236 Merge pull request #34 from jaredkipe/master
Fixed ambiguous column in filter. (BlogTree.php::Entries())
2012-07-11 14:19:49 -07:00
jaredkipe
9702fd5db4 Update code/BlogTree.php Fixed ambiguous column ParentID in filter. 2012-07-11 11:13:25 -07:00
Jeremy Bridson
248fef4424 ENHANCEMENT:added a clearfix to blogEntry.ss for the editpost links. added css requirements to php to detect subthemes css 2012-07-09 12:05:53 +12:00
carlos barberis
fae45f3826 MINOR: Merge ss3-fixes into master 2012-07-08 11:25:53 +12:00
Frank Mullenger
c3d9ee41e7 ENHANCEMENT: Paginated list for blog entries. Check WidgetAreaEditor
class exists.
2012-07-03 20:16:23 +12:00
Frank Mullenger
697ed18dbd Using PaginatedList for blog entries. 2012-07-03 13:16:18 +12:00
carlos barberis
efb1264926 ENHANCEMENT: make blog module independent of widget module 2012-05-28 18:12:53 +12:00
carlos barberis
5a21b4eeb9 MINOR: resolve conflicts after merging 2012-05-21 15:58:40 +12:00
carlos barberis
36c31be314 MINOR: update Requirements in README 2012-05-21 14:58:26 +12:00
Sean Harvey
90a0e80667 Revert "BUGFIX Initial fixes to support at least building the blog module on SS3"
This reverts commit 8b58156211.
2012-04-14 11:08:18 +12:00
Sean Harvey
8b58156211 BUGFIX Initial fixes to support at least building the blog module on SS3 2012-04-12 13:53:32 +12:00
Sam Minnee
c574d12226 BUGFIX: Removed use of subtabs, to be compatible with SS3. 2012-03-24 16:31:00 +13:00
John Clarke
1ed87c004e BUGFIX: support for legacy installations for the date based blog entry listing using slashes rather than dashes. PATCH via jcinteractive. (#5) 2011-05-07 12:28:44 +12:00
phalkunz
8ccd23db5a MINOR: Fix RSS validator warning. Thanks to tim. 2011-01-21 15:51:06 +13:00
phalkunz
db45cb9b49 MINOR: Make use of Link()'s parameter 2011-01-21 15:48:47 +13:00
Ingo Schommer
3593f03f7e BUGFIX Fixed XSS vulnerability in BlogTree when filtering by tags 2010-10-03 20:02:43 +00:00
Carlos Barberis
d491c442dc ENHANCEMENT: Added option to view archives just by year (ticket #5667)
ENHANCEMENT: added action on BlogTree
2010-07-01 23:30:13 +00:00
Saophalkun Ponlu
8b4b0f9ac6 ENHANCEMENT: create a template function, BlogEntry::Content(), for consistency of template writing and enable using text summary functionalities in template 2010-06-17 23:19:56 +00:00
Saophalkun Ponlu
8de8414c86 BUGFIX: postgres and sql server compatibility 2010-05-28 03:46:17 +00:00
Carlos Barberis
1e96d253b4 Reverted form to post entry to BlogHolder
ENHANCEMENT: added post as an allowed method on BlogTree
2010-05-28 02:33:58 +00:00
Carlos Barberis
b389d86f00 ENHANCEMENT: Moved postblog (post in the front end) to BlogTree, so it works in BlogTree 2010-05-28 01:38:19 +00:00
Carlos Barberis
5a5cdf1aaf ENHANCEMENT: replaced deprecated Director::urlParams()
BUGFIX: tag working with nested urls
2010-05-27 23:30:14 +00:00
Will Rossiter
3e952feefc BUGFIX: restored filtering by Author to the entries function 2010-05-18 03:21:08 +00:00
Will Rossiter
b066dce821 APICHANGE: removed BlogTree_URL class and its little static children. Changed to SelectedTag and SelectedDate to allow to be called in the template. SelectedDate now also returns a Date object rather than a string. BUGFIX: fixed missing Viewing posts by date text and added a viewing by post date text. 2010-05-16 02:38:19 +00:00
Geoff Munn
23e817fe6b BUG FIX: date checks now database agnostic 2010-04-29 22:39:40 +00:00
Tom Rix
c31bb7e6b6 MINOR improve test coverage 2010-03-19 00:15:41 +00:00
Andreas Piening
aa32a6a55d MINOR: substituted proprietary SQL datetime operation 2010-02-01 05:27:18 +00:00
Ingo Schommer
1d2c96b6de BUGFIX Limiting BlogHolder->LandingPageFreshness to requests without a controller action only. Controller actions are not regarded as the "landing page", as they cause other views like 'tags' or 'rss', which shouldn't be filtered 2009-12-22 20:55:23 +00:00
Andrew O'Neil
a7f024bc45 Use "date" for archives, using numbers directly causes too many problems 2009-12-20 00:31:24 +00:00