Full Page vs Sidebar
Permalink 1 user found helpful
Have scoured the forum but am no wiser. Am using default theme (plain yoghurt) and trying to create a second page type that is a 'full version'. If I create a new page it always has a sidebar!
Tried copying full.php and renaming it to full_other.php. This shows in my page types but this still has sidebar!
I have loads of other pages that I can't delete, even though they are not used anywhere and despite emptying the trash/running jobs.
Can some one please help me to:
A - create a new page type with no sidebar
B - delete unwanted page types that wont delete
Thanks for any help.
Tried copying full.php and renaming it to full_other.php. This shows in my page types but this still has sidebar!
I have loads of other pages that I can't delete, even though they are not used anywhere and despite emptying the trash/running jobs.
Can some one please help me to:
A - create a new page type with no sidebar
B - delete unwanted page types that wont delete
Thanks for any help.
Thanks weyboat for your reply.
I understand how to do that, but what i need is another page style that is also blank. The reason is i need to set different permissions and page default for each.
I understand how to do that, but what i need is another page style that is also blank. The reason is i need to set different permissions and page default for each.
The simplest way to create new page types is to look in your theme for left_sidebar.php for instance. Make a copy of the file and call it my_left_sidebar.php
Next, navigate to Dashboard > Page Types and click "add a page type".
Use a name like My Left Sidebar and a handle like my_left_sidebar, exactly like in the file name. Theres your new page type!!
Next, navigate to Dashboard > Page Types and click "add a page type".
Use a name like My Left Sidebar and a handle like my_left_sidebar, exactly like in the file name. Theres your new page type!!
Hi enlil,
I copied from root/themes/default the file full.php and renamed fullpage.php.
I went into page types and added a new page with handle 'fullpage' and then went to edit that page, but the page has a right sidebar which I don't want. I'm wondering if what I'm trying to do is just not possible?
I copied from root/themes/default the file full.php and renamed fullpage.php.
I went into page types and added a new page with handle 'fullpage' and then went to edit that page, but the page has a right sidebar which I don't want. I'm wondering if what I'm trying to do is just not possible?
The "Default" page type has a sidebar if I remember correctly. As Plain Yogurt comes with a full page already, it seems more likely there is a different issue causing the default page to load?
Adrian
Arvixe Web Hosting / Concrete5 Community Liaison |
http://www.arvixe.com/concrete5_hosting.............
Adrian
Arvixe Web Hosting / Concrete5 Community Liaison |
http://www.arvixe.com/concrete5_hosting.............
An easy way to reproduce the full width page type is to open the full.php file and save as myfull.php (for instance) into your theme folder,
next go to dashboard/themes find the theme you are using and "Inspect" the theme, you should see your new myfull.php in the list, click Go,
You should now have a new file type available in your design dialog..
next go to dashboard/themes find the theme you are using and "Inspect" the theme, you should see your new myfull.php in the list, click Go,
You should now have a new file type available in your design dialog..
Hi and thanks everyone for your contributions. weyboat you have solved it.. fantastic thank you!
I did find a way to add a blank full page by following the single pages instructions here:http://www.concrete5.org/documentation/developers/pages/single-page...
That worked too but I couldn't apply it to my home page because its a 'one off page' and not a theme page.
I also have managed to delete some of the unwanted page types by going into every single site page and clicking the versions link, then deleting all the old version, of which there were hundreds!
These version were carried over when I changed themes.
A warning to anyone developing a site, if you make a page your happy with, make sure you delete all the old version first before you copy the page to make another, otherwise you copy ALL the previous version!
We live and learn :-)
I did find a way to add a blank full page by following the single pages instructions here:http://www.concrete5.org/documentation/developers/pages/single-page...
That worked too but I couldn't apply it to my home page because its a 'one off page' and not a theme page.
I also have managed to delete some of the unwanted page types by going into every single site page and clicking the versions link, then deleting all the old version, of which there were hundreds!
These version were carried over when I changed themes.
A warning to anyone developing a site, if you make a page your happy with, make sure you delete all the old version first before you copy the page to make another, otherwise you copy ALL the previous version!
We live and learn :-)
To be able to delete page types you must go to each page that is using that page type and delete all the old page versions..