use single_page for home

Permalink
I think I talked to Andrew about this a while ago.

I've got a few sites where I need a home page which is different from all the other pages. Usually when building a multi language site.

Right now, I have to use a page type for this. This works but is a bit ugly since the user sees this type all the time, but never uses it.

I'd be great if we could use a single page there. I'm not sure, maybe I missed sometimes, but as far as I know there's no nice way to do this... ?

Remo
 
Fernandos replied on at Permalink Reply
Fernandos
Hello, Remo!

You're pretty active here :)
I have exactly the same problem.
I need to execute some language-detection code on "home" and execute some php on other page containers like DE.

I didn't find a solution to add a single page to home. Maybe It's like "rapunzel" we just don't know it's true name. haha

I tried /single_pages/index.php which did nothing but create /index so what would happen if I call the file .php ?? would it execute on / then? gonna try :D heheh

I'll report back!
Remo replied on at Permalink Reply
Remo
Yeah, I wrote a few messages here.. Also wrote a few articles onhttp://www.codeblog.ch

I'm currently creating a template for "home" only.. This is ugly since it is always shown when I create a new page. At least it works.

The last time I've checked there's no hidden magic but I'd probably follow the approach you tried. I'll keep looking for a solution, but I'm a bit busy at the moment - it's going to take a while for sure

Would appreciate any kind of feedback!
Fernandos replied on at Permalink Reply
Fernandos
Hi, Remo!

Here_NT told me that if you enable the advanved permission model, you can disable a certain page_type for a specifc page or even recursive for all children^

cheers
Fernandos