In 2017 I build silverstripe site with a lot of custom page types (build in SS V. 3.3)
In spring this year I’ve tried to upgrade to SS V 4.0 which ends up in a desaster…
Now I decided to completely rebuild the old code to new version.
I’m confused about the directory structure, due to many different decriptions.
shows an other structure as discribed under
Same differences in naming the config file (*.yml) of custom configuration:
app.yml, mysite.yml, config.yml. Waht is the right one?
As a first test I have placed a simple Page.ss in /app/templates .
This is used but style sheets and images are not found.
Documentation says to put style sheets in /app/css and images in /app/mages etc.
Further on in documentation appears an other “template” directory named
/themes//templates (this equals v3 hierarchy)
But nothing works for me (I always modified theme.yml accordingly)
Has someone an idea, how I can restart my project with correct directory structure and naming convention?
BTW: what’s about namespaces in “SpecialPage.php”/“SpecialPageController.php”?