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 :)
Hope what im writting isnt complete jibberish :)
if ive alrdy made a page the way i want it. is there any way i can make this a page type?
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
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
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
When i edit the page i cant see any of the blocks or pictures
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
[code]
[/<?php
$a = new Area('leftcontent1');
$a->display($c);
?>]
in the new page type that is
and... it doest matter which of the page types i choose.. i have no edit posibilities...
What am i doing wrong?
What am i doing wrong?
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
Remember one thing, while creating Page Type you must put the same name on "Handle" Text box
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
Thx for the help
Glad to help you. :)
Citytech
Citytech
ok... another hopefully small problem :D
isnt it possible to use the layout function on blocks when making a page type?
isnt it possible to use the layout function on blocks when making 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