Function $ThemeDir
is not working in silverstripe template while using with img html tag for example
<img src="$ThemeDir/img/slides/2.jpg" alt="" />
Function $ThemeDir
is not working in silverstripe template while using with img html tag for example
<img src="$ThemeDir/img/slides/2.jpg" alt="" />
ThemeDir was removed in SilverStripe 4 but it looks like it will be added back very soon.