New site in MVC

Vote:
 

I've just created a Episerver 7 MVC project in VS 2010. First thing I do is to create a PageType according to this tutorial: http://www.youtube.com/watch?v=arvmWLkku4c.

When I log on to the CMS as web admin and tries to create a new page the only parent node to select is Root. Unfortunaly the Select button is dimmed out, and I can not continue onwards. What is the cause of this? Is it because I lack a template for my PageType?

 

Much appreciated

/Daniel Sandberg

#72768
Jun 28, 2013 9:47
Vote:
 

Sorry, but I didn't get the question. Can you be more specific please? Do you have start page defined, do you see your created page type in admin section, where you are trying to create new page?

#72773
Jun 28, 2013 11:32
Vote:
 

Hi Daniel,

 

The select button is greyed out probably because you don't have any templates defined in code. Please look at this article and this should help you:

 

http://world.episerver.com/Blogs/Joe-Bianco/Dates/2013/1/Building-EPiServer-Templates-with-MVC-Razor-Part-1-Page-Templates/

You will need a Model, Controller and a View for new template. Build your project and then you would be able to select new template from the list.

Kris

#72801
Edited, Jun 30, 2013 16:38
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.