21294 Posts in 5734 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 738 Views |
-
Different layout style for different blogholder

8 February 2010 at 8:21pm
Hi
I am using BlogHolder page type to display list of inner BlogHolder and it's blogentry. I have applied different layout style for individual BlogHolder page using their id. Now I got problem that is when I copy a particular BlogHolder page type with it's sub blog holder page and blog entries it apply default layout style. I want it to copy the same layout from the original BlogHolder.
Please help.
-
Re: Different layout style for different blogholder

17 February 2010 at 7:26pm
Hi All,
I have found the solution for this.
I have to extended the BlogHolder controller. As I require the page type for different layout. It looks like this :
class NewPageName extends Page {
}
class NewPageName_Controller extends Page_Controller {
// My custom function
}It works for me.
| 738 Views | ||
|
Page:
1
|
Go to Top |

