Home page as Single Page?
Permalink
Is it possible to make the home page a single page?
I use a setup for the home page of my clients new site that'll never show up anywhere else, and i'd prefer not having a "Home" page type on the list.
I use a setup for the home page of my clients new site that'll never show up anywhere else, and i'd prefer not having a "Home" page type on the list.
Sorry for the stupid post. Should have been more thorough in my search before I post ;)
Sooo... can you direct me to where you found your answer
I'd also like to know the answer to this please
Check out this thread:
http://www.concrete5.org/community/forums/customizing_c5/home-page-...
I just used a Page Type for mine, but using home.php seems to be the single page method.
http://www.concrete5.org/community/forums/customizing_c5/home-page-...
I just used a Page Type for mine, but using home.php seems to be the single page method.
For those with similar questions, the answer to date (i'm posting this 5/31/2010 c5 v5.4.0.5) is that Home pages cannot be single pages. If you make a home.php inside your themes directory it will be automatically selected for Home page (so they say). There is also a way to hide individual page types from the users view with advanced permissions (requires adjusting a text file i believe), but that seems more trouble than it's worth.
It would be nice, if in a future version of c5 there was a way to make Home a single page.
It would be nice, if in a future version of c5 there was a way to make Home a single page.
if home is a page type(sorry working from an older version right now of concrete5) you should be able to assign a page_type controller to it and have most of the same functionality as one would have with a single_page, assuming you are going about home as a single_page because you want to act on $_GETs and log those in a meaningful way?
or do a/b testing or something.
Interesting, I didn't know Single Pages had access to $_GET variables, thanks.
I think the main issue ppl are having (i now it's the issue i'm having) is that you can't remove the "Home" page type from the selectable list of page types when it's only going to be used in one place.
I think the main issue ppl are having (i now it's the issue i'm having) is that you can't remove the "Home" page type from the selectable list of page types when it's only going to be used in one place.
you can remove that "home" page-type from the list, when you enable advanced permissions and choose the users who should see that page-type. Other users won't see it.
so, your solution is to:
1. create a file in your themes root directory call it whatever you want (home.php makes sense as a "page-type")
2. setup that page-type in the backend in the page-types tab. (initialize/refresh the theme to see the new page-type)
3. enable advanced permissions, use the forum search to find out how.
4. goto the sitemap and choose the superuser + administrators as the users who have full access to the "home" page-type.
Done.
so, your solution is to:
1. create a file in your themes root directory call it whatever you want (home.php makes sense as a "page-type")
2. setup that page-type in the backend in the page-types tab. (initialize/refresh the theme to see the new page-type)
3. enable advanced permissions, use the forum search to find out how.
4. goto the sitemap and choose the superuser + administrators as the users who have full access to the "home" page-type.
Done.
1
If you want to simplify a theme for your users, it is nice to eliminate any extra page types from their view. In this case, you can easily move your home/default content into element files, like so: