I created a theme and declared it and it works.
I need to put a picture in one of the views of the theme, and the picture is in the theme folder.
What is the best practice for referring to that file from within a view in the theme?
I created a theme and declared it and it works.
I need to put a picture in one of the views of the theme, and the picture is in the theme folder.
What is the best practice for referring to that file from within a view in the theme?
I think you better define a theme path alias and use this as base path to refer to all theme files (javascript css and images)
In this way if you rename the theme folder or move it you do not need to refactor all the links