Lestatron, your fix worked great for me, thanks.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
- Previous 10 entries
- 1
- Page 22(current)
- 3
- Next 10 entries
Ultimate you should probably try to debug the 2) BlogHolder.php function BlogEntries() (Line 199) using echo for $year and $month. See if the url params are correct. And be sure you haven't deleted the sub if and if else which creates date string for the entries query!
bruceb's fix worked for me :)
bruceb fix will work until the year number hits 2010. Basically you have to add a new allowed action for every year you want to be able to query with archive widget. So it isn't very nice and solid solution...
My fix was not intended to be permanent, just until a new version of the blog module was released. At this stage, I'd probably add '2010' just to be safe. Its a quick fix for those with less confidence in editing multiple files but it does mean you will have to go back to those clients' sites when the new module is released.
Lestatron's fix, however, means that you don't have to go back and update published projects when the new blog version is released.
That raises an issue for another thread - how do people handle subsequent version updates once a project is completed and handed over to the client? Maintenance and upgrades for 12 months built into the original quote?
I should mention that I've added 'SearchForm' to the list of allowed actions in blogholder.php as well - otherwise search doesn't work within the blog.
Yep! bruceb I totally agree with you. I should have written this text in my post, but I'm too lazy.
I added the 'SearchForm' action fix to my solution as well.
Thanks for the hint!
@lestatron - Great fix - simple yet effective!!
For me the page just refreshes - nothing changes
I downloaded the latest blog module and that one does not save the widgets on the widget tab.
Any other ideas?
- Previous 10 entries
- 1
- Page 22(current)
- 3
- Next 10 entries