Adding page type layout

Permalink
So I have an existing HMTL site that's fairly simple but has some Java code. I successfully imported my home page into C5 and it's currently sitting here for testing (yay!)http://www.choletarchitecte.fr/Concrete5-Testing/concrete5.6.1.2/... Congrats on a pretty easy importing experience. Now, I'm trying to import another page type into the theme, which is used by all the rest of the site except for 2 single pages. I've added the template into the themes folder and the "Themes" inspect function was able to import it. However, when I created a new page from that, it just created it from the original home page template. Am I missing a step, or what else could I be doing wrong?

Great package, by the way. I'm getting all the learnin' out of the way on this first project :)

 
jvansanten replied on at Permalink Reply
Did you associate your new page with the new page type?

When you hover your mouse cursor over the Edit menu option, go to the menu option -- "Design". There you can choose the desire page type to associate with it.

Glad to hear you're having a good initial experience with C5. IMHO, it only gets better!
stevetdent replied on at Permalink Reply
Thanks for the reply. No, that's not working, for some reason it thinks my page type "projets" is the same as the original theme that I imported. It seems to be a challenge in getting that page type imported, perhaps I'm doing something wrong there.
stevetdent replied on at Permalink Reply
So I've fixed the issue -- it seems that it was just a problem with the template, ie the syntax of all the PHP inserts in the HTML. I found the easiest way to trouble shoot was to just create a new test theme using that page type as the default.php, which made it easier to flip back and forth and see if there were problems. However, if there's an easier way to test a new template before bringing it in as a page type, I'd love to hear it. Thanks again for the help!
jvansanten replied on at Permalink Reply
That sounds like a good approach. And, glad you found the resolution.

This may save a step.

After having created the test theme with the test page saved as default.php, in the dashboard, "preview" the theme. That will pretty quickly show errors, if I recall.