0

Function $ThemeDir is not working in silverstripe template while using with img html tag for example

<img src="$ThemeDir/img/slides/2.jpg" alt="" /> 
Fruchtzwerg
  • 10,999
  • 12
  • 40
  • 49
Ankit
  • 11
  • 2

1 Answers1

0

ThemeDir was removed in SilverStripe 4 but it looks like it will be added back very soon.

Source for removal

Source for restore