Custom home page?

Feed 1 posts, 2 voices

Avatar
1 posts

I am having a few problems with the home page.
I want the root of the website (www.example.com/) to go to my custom html/php coded stuff.
All the other pages I want to be themed and etc.
I also DONT want to include the webpage root link in the themed pages.
My root webpage is kind of like a “splash” page.
Can i do this?

 
Avatar
16 posts

Not quite sure what you mean but it should be possible.

You can add a new layout called “none” with this as the code
<?php echo $this->content(); ?>

And then, in the “body” tab of the homepage, insert the html/php code you want.
Be sure to set the template to “none”.

So when you get to the homepage, only what you added to the body will be showed.

Hope it helps
Steven