1776 Posts in 498 Topics by 533 members
Blog Module
SilverStripe Forums » Blog Module » BUGFIX: 404 on ./date/... for BlogTree Pages.
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 734 Views |
-
BUGFIX: 404 on ./date/... for BlogTree Pages.

16 July 2011 at 11:52am
Some of you may have noticed, that date archive widget and the BlogTree pages do not work well together. Specifically the url fragment such as '/blog/date/2011/04' doesn't work if 'blog' is a BlogTree instance, but DOES work if it is a BlogHolder instance.
Inside BlogTree.php and the BlogTree_Controler class. You need to add 'date' to the $allowed_actions array.
static $allowed_actions = array(
'index',
'rss',
'tag',
'date'
); -
Re: BUGFIX: 404 on ./date/... for BlogTree Pages.

16 July 2011 at 1:43pm
Sounds like this should be fixed in the core download so make sure you either submit it as a pull request to the module's github page (https://github.com/silverstripe/silverstripe-blog) or at least as a ticket on open.silverstripe.org.
Thanks!
-
Re: BUGFIX: 404 on ./date/... for BlogTree Pages.

17 July 2011 at 5:31am
Actually, it seems that the github version has this simple fix already. But still the current download version has the bug. So I guess this is for people that are just downloading it from the mail module section on silverstripe.org, or have a version in production that exhibits this bug.
| 734 Views | ||
|
Page:
1
|
Go to Top |


