Custom Page Type Help

Permalink
I could use a little help with this one.

Basically i've created the default.php page, and everything is working great. Now i want to add an interior page that is basically a copy of the default.php, but has no slider bar.

I have the file right_sidebar.php inside my root directory along with my default.php. I go to Page Types » Add a Page Type, then i use right_sidebar as my name and my handle. I then assign the new pagetype, but all I see is the home template. So nothing happens?

What am I doing wrong?

Thanks,

Levi

 
mhawke replied on at Permalink Reply
mhawke
The 'right_sidebar.php' and 'default.php' files need to be located in '[root]/themes/your_theme_name/'

Is that what you mean by 'root directory'>
8wesomeness replied on at Permalink Reply
Yes, that is what i mean by my root, they are both inside the theme folder.
shahroq replied on at Permalink Reply
shahroq
Bear in mind when you create a new page type, some changes only operate to new pages. try add a new page with newly addes page type and see what happens.
8wesomeness replied on at Permalink Reply
That was it.

Thanks
mhawke replied on at Permalink Reply
mhawke
But changes to the PHP on a Page Type file effect old pages as well as new ones so for example if you add an editable area to your right_sidebar.php file, it will be available to old pages when you put that old page into edit mode.