17488 Posts in 4473 Topics by 1978 members
|Go to End|
13 November 2007 at 8:19pm Last edited: 13 November 2007 8:22pm
I am currently setting up a site in Silverstripe. It works really well and I did not see any restrictions that would limit what I have in mind. Little changes like updating the Blog to get Rich Text Editor support was straightforward. A great system! Thank you!
I noticed that in the Blog Module the previous/next link does not work (links just to the home page). I don't have the source code in front of me right now, but in the template previous/next link was created with something like:
(see Built in Page Controls)
I am sure this only needs a little tweak; but I am quite new to Silverstripe and the Silverstripe Framework. Other pagination (clicking on page numbers) works well. I will look into that tomorrow anyway, but if someone has a hint I would be grateful.
Also: whenever I try to start a new topic in the Silverstripe Forum and I am not logged in all I get is a blank window (i.e. the forum here on silverstripe.com, not in the CMS to download). A message or a redirect to a login/register page would be less confusing.
14 November 2007 at 3:09pm Last edited: 14 November 2007 3:10pm
It was really easy to fix the problem.
Instead of $Children.NextLink and $Children.PrevLink it should be $BlogEntries.NextLink and $BlogEntries.PrevLink in the BlogPagination.ss template. I am sure I tried this yesterday and it did not work - but I probably just forgot to add ?flush=1 to the URL.
14 January 2008 at 3:40pm
Thanks for picking that up Anatol!
I added your fix, which will be in the next release of the blog module.
|Go to Top|