-
I've been working on this for a while, and feel I'm missing something. I've created an application of Piranha CMS and I've attempted to add my own page (setup routing and everything). The page appears in my piranha manager but when I go to view the page I get a 404. I did some debugging and the class for the new page is being created, but it's not linking to the cshtml for the page. If anyone could help me it would be very appreciated. I tried everything in the documentation, but I must be missing something If you want to look at my code it's here: https://github.com/Delnar/piranha-cms Thank you for your help Joshua |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
To add a little more to this conversation (and perhaps help me find the answer), It appears as if the page is loading but the ContentTypeRoute tag is not routing to the correct .cshtml file. It's only routing to Page.cshtml which is linked to StandardPage. |
Beta Was this translation helpful? Give feedback.
-
Looks like I may have solved my own problem. The Custom page must have been saved incorrectly in the database. I've now got it working (I've checked in the working code). |
Beta Was this translation helpful? Give feedback.
Looks like I may have solved my own problem. The Custom page must have been saved incorrectly in the database. I've now got it working (I've checked in the working code).