'Sliverstripe 4.6 Template not rendering anything

I am just a new learner on SliverStripe CMS. I try to create the form on the template, but my template does not seem to work and does not render my form or any HTML codes inside the .ss file.

InterviewCandidateController extends PageController enter image description here

InterviewCandidatePage extends Page

enter image description here

InterviewCandidate extends DataObject

enter image description here

InterviewCandidateController.ss

enter image description here

This is the hirrachy folders/path

enter image description here

Nothing is showing on the page

enter image description here

I am just thinking it is about the route issue, but I am still have no cule how to solve this issue. If someone could guide me to solve this problem I would be really appreicated!.



Solution 1:[1]

This has been solved.!!

The InterviewCandicateController has to change the file name to InterviewCandidatePageController. The Controller, Page and .ss file has to be given the same name.

Solution 2:[2]

Did you just post the silverstripe interviewee code? Hint take a look up the hierarchy of Page there is a function that sets the controller, or static config that sets the controller name

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Siripong Gaewmaneechot
Solution 2 vinstah