Single page as a home page

Permalink
New to c5, but enjoying it a LOT so far.

Where is c5 getting its information on what to use for a start/home page at a site. Looks like it uses default.php by default, but suppose I want to have it be a "single page"? How do I get started with that?

crowja
 
frz replied on at Permalink Reply
frz
you probably don't need a single page for this. the home page typically uses its own page type (home) and you can do what you need with it.

whatever theme you have applied to that page, c5 will look in the theme directory for a matching file name for presentation. So if you don't have a home.php, yes it will use default.php

what are you trying to pull off?
crowja replied on at Permalink Reply
crowja
Ok so just to be clear, my theme directory contains these files:

default.php, description.txt, flash/, images/, style.css, thumbnail.png

If I now add home.php, that'll get picked up as what should be used for the site's home page?
frz replied on at Permalink Reply
frz
"For every page type in this theme, create a "mypagetype.php" template file in the directory."

http://www.concrete5.org/help/building_with_concrete5/developers/th...
crowja replied on at Permalink Reply
crowja
That did it, thx! I reread the steps of "How do themes and page types work?" at

http://www.concrete5.org/help/building_with_concrete5/developers/th...

It was Step 10 and the "Design | Choose a Page Type" during editing that did the trick. When the dust settles, I think I'm gonna like C5 a whole lot!