You are here
View more context
is there a way to loop related blog posts by category? for example <$ loop Categories.BlogPost %> ? I cant seem to get it to work 😕
I want to loop the current blog post categories blog post's. hopefully that made sense (edited)
<% loop $BlogPost.Category.BlogPosts %> maybe?
<% loop $BlogPost.Category.BlogPosts %>
depends what the relationships are called
Okay brill thank you 🙂
So here's a question, is there anyway of running a dev/build after SilverStripe has started executing?
Maybe via some form of middleware?
I suppose I could run exec and pass the dev/build command
Anyone using Fluent? $ContentLocale returns a 5 letter code, ie /en-UK/MyPage, but i only want the short, 2 letter code which is used throughout the links, ie /en/MyPage <= any ideas how to get this? (edited)
DOes SS4 not have a simple SiteSearch like SS3 had?