Html website with 5 different pages and layouts

Permalink
Hello! ,I am a newbie with cocrete5 and I want some help.
I have a static web site with 5 pages (e.g. home,contact,news ,company,products) and each page has a different layout .
I follow step by step the above tutorial and I manage to convert the first page (home) to a concrete5 page.
How can I convert the other pages , to have a working concrete5 web site ?

 
andrewsturm replied on at Permalink Reply
If your theme has only one page style and you've already made the home page. Just add a sub page to your homepage and choose the page type you've already created.

If each of your pages has a different style...

You should look at this:
http://www.concrete5.org/documentation/general-topics/page-types...

Generally you would want to create a file in you theme's theme folder like:

/themes/yourThemeFolder/contact_page.php

Add the contents of your new style and be sure to use the...
<?php  
   $a = new Area('YourNewArea');
   $a->display($c);
?>

...where needed.


Then go to:

Dashboard > Pages & Themes > Page Types
+ Click the Add a Page Type button in the top right
+ Enter a Name (a good Human readable name)
+ Enter the name of your php file in the Handel* field WITHOUT the .php on the end
(ex: "contact_page" )
+ Select any other options you want
+ Click the Add button.

Finally, go to your home page, in the edit menu, and add a sub page of the type you've just created. You will recognize it by it's human readable name