You are here
View more context
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?
FulltextSearchable::enable(); in the _config.php file would simply generate a search form we could put anywhere