Message of the day:
SS4.3 is released! - https://www.silverstripe.org/blog/announcing-the-release-of-silverstripe-4-3
SilverStripe 4 related information and questions.
Morning folks. I have a template block that displays a summary of blog posts, I can get all the info I need apart from the category title...
- <% loop $LatestNews %>
- <% if $FromEnd(0) != 0 %>
- <a href="$Link">
- <div class="col-sm-12 col-md-4 recent-news--item">
- <span class="recent-news--item--date">$PublishDate.Format('dd.MM.YY')</span>
- <p class="recent-news--item--summary">$Title.LimitCharacters(60,'...')</p>
- <% end_if %>
- <% end_loop %>
Not sure if i'll get a quick response, but just curious if there's a way I can either point a search result to go to it's own results url instead of staying on the current page type. Or maybe a variable i can see in a template that tells me when i'm on the page with search results so i can hide stuff
yes, the lessons are really great for getting started but I find its too big of a leap to be able to understand the api pages to find all the possibilities. a little collection of “ideas” or something like that (not full tutorials just examples of the various options with screenshots of how they turn out) would be really nice