copying layout, incl content

Permalink 3 users found helpful
Hey... im working on a page and i want the exact same layout for alot of subpages. ive now made one, with all the blocks and layouts i want. But how do i copy this?? basicly i want the same page, just another title, but with all the same content.

Hope what im writting isnt complete jibberish :)

 
citytech2 replied on at Permalink Reply
citytech2
You can do it easily by going to Dashboard->Pages & Themes->Page Types->At the bottom of this page there is a button called "Add a page type".

After creating this you can view the page type as a list. Click "Defaults" & design you page as you wish.

Now you can add any number of pages with the same design as well as same content. You have to assign your newly created page type to all those pages from admin dashboard.

Citytech
markkoch replied on at Permalink Reply
if ive alrdy made a page the way i want it. is there any way i can make this a page type?
citytech2 replied on at Permalink Best Answer Reply
citytech2
Yes you can do this easily. Just copy your page into your themes directory. Lets say for e.g. you have created a page called "innerPage.php". Now you have to copy this page into the below path: C:\wamp\www\project\themes\your_theme\innerPage.php

After that you can follow the steps that I've mentioned previously. Note: Just remember to add the page type exactly as per your created name like "innerPage". Do not put .php in file type while adding.

Citytech
markkoch replied on at Permalink Reply
when i do this i get the page... only with a tiny bit of the content from the page, and no possibilities for editing.

When i edit the page i cant see any of the blocks or pictures
markkoch replied on at Permalink Reply
does it have to be html? or can i call blocks with fx

[code]

[/<?php
$a = new Area('leftcontent1');
$a->display($c);
?>]

in the new page type that is
markkoch replied on at Permalink Reply
and... it doest matter which of the page types i choose.. i have no edit posibilities...
What am i doing wrong?
citytech2 replied on at Permalink Reply
citytech2
I this is the page that you have created before creating the page type then it will not showing on this page. Just create a new page with this page type & see the effect.
Remember one thing, while creating Page Type you must put the same name on "Handle" Text box
markkoch replied on at Permalink Reply
ok i figured it out... apparently i have to login as Admin... eventhough i assigned another username to the admin group, it doesnt have the same rights.

Thx for the help
citytech2 replied on at Permalink Reply
citytech2
Glad to help you. :)

Citytech
markkoch replied on at Permalink Reply
ok... another hopefully small problem :D
isnt it possible to use the layout function on blocks when making a page type?