Page type by default 2 columns!!
Permalink
Hey community!
I wanted to create a new page type since it really makes no sense add blocks in the same format over and over again. My problem is when I go to set the default look for the page type, it's a right handed side bar type! I want a 'Full' page with some twists that I'll add! How do I get it to go to full? and how do I delete a botched up page type?
:D
Thanks!
I wanted to create a new page type since it really makes no sense add blocks in the same format over and over again. My problem is when I go to set the default look for the page type, it's a right handed side bar type! I want a 'Full' page with some twists that I'll add! How do I get it to go to full? and how do I delete a botched up page type?
:D
Thanks!
How would that solve the problem? :S Please elaborate, thanks!
Create a new single page with all the required tricks in design in your theme. Then go to dashboards Page types, the link will be like this:
http://www.domain.com/index.php/dashboard/pages/types/add/...
Then copy the page name without .php extension & put it into the "handle". The "Name" could be as per your choice & add this. Now in that pages body class mention "full".
And now you can add pages with that page type. It will be like the design you made in that single page.
Note: Previously added pages doesn't reflect the design.
Citytech
http://www.domain.com/index.php/dashboard/pages/types/add/...
Then copy the page name without .php extension & put it into the "handle". The "Name" could be as per your choice & add this. Now in that pages body class mention "full".
And now you can add pages with that page type. It will be like the design you made in that single page.
Note: Previously added pages doesn't reflect the design.
Citytech
Okay! Excellent answer but just one question before I mark you as best answer, creating this page which I will later turn into a page type will mean it will actually exist as a page and I'm going to have to make it invisible on the autonav and stuff?
Also what If I accidentally delete it or anything?!
Thank you citytech!
UPDATE: Actually I've run into a problem, where you say add handle, my page address looks like this
http://domain.com/c5/index.php/arcade-pg/...
OR
http://domain.com/c5/index.php?cID=208...
So how do I derive the handle from this?
Also where is the page's body class set from in the 'add page type' menu
Also what If I accidentally delete it or anything?!
Thank you citytech!
UPDATE: Actually I've run into a problem, where you say add handle, my page address looks like this
http://domain.com/c5/index.php/arcade-pg/...
OR
http://domain.com/c5/index.php?cID=208...
So how do I derive the handle from this?
Also where is the page's body class set from in the 'add page type' menu
I think you have got the wrong way. I'm just asking you to create a single page, not a website page. A website page is handled by database.
Surely your one will not shown in the nav menu.
For page types, you need to go to dashboard, then Pages & Themes, and under this Page Types.
The handle and all this are coming after clicking on the "Add a Page Type" button.
Also you need to set the body class in your single page which is the static PHP page. Surely it is not in the page type interface.
Hope it will help you.
Citytech
Surely your one will not shown in the nav menu.
For page types, you need to go to dashboard, then Pages & Themes, and under this Page Types.
The handle and all this are coming after clicking on the "Add a Page Type" button.
Also you need to set the body class in your single page which is the static PHP page. Surely it is not in the page type interface.
Hope it will help you.
Citytech
Hey! You're based in India too! Hi! I'm from Mumbai btw!
When you say add a single page, do you mean add a website page to the single page directory? As I don't see how else I can add a single page? The other stuff should be sorted with the rest of your reply, once I get past this initial hurdle that is xD
Thanks!
When you say add a single page, do you mean add a website page to the single page directory? As I don't see how else I can add a single page? The other stuff should be sorted with the rest of your reply, once I get past this initial hurdle that is xD
Thanks!
If you are using any external theme(Not concrete5 core themes), then go to themes directory & find the pages like default.php, view.php, full.php, left_sidebar.php etc. This is the place where you need to create a php page similar like other pages.
I'm from Kolkata.
Citytech
I'm from Kolkata.
Citytech
I'm sorry can you give me a more precise location? The theme I got is from the market.
Then it will be in the packages directory on root.
Citytech
Citytech
I'm sorry that's just proving to be too complicated. Thanks for the try
though!
Regards
Chaitanya
On 22-Jul-2012 11:45 AM, "concrete5 Community" <discussions@concretecms.com>
wrote:
though!
Regards
Chaitanya
On 22-Jul-2012 11:45 AM, "concrete5 Community" <discussions@concretecms.com>
wrote:
Citytech