Tini72
26th of July 2008 (Sat), 08:05
I like the idea of custom pages a lot but now I figured out a problem which I can't solve by myself. I hope althought it's holiday time now that there is anybody out there who could help me a little.
I want to create a custom page which is different in layout from my other custom pages. That means this custom page would need a different custom template (call it custom_b).
I have already created that custom_b template and put it into the custom template folder but I can't get this to work.
Changing $currentpage = "custom_a"; to
$currentpage = "custom_b"; doesn't change anything. Still the custom_a template is used.
Quite at the end of empty.php there is a code line like
ob_start();
@include ("./" . $custom_a_content);
$ee_all_html = ob_get_contents();
ob_end_clean();
I suppose this is responsible that I can't use my custom_b template. But changing this to custom_b_contet simply gives my a blank page.
Does anybody can help me how being able to use custom_b template beside the custom_a template?
Any help is welcome! Thanks.
Tini
I want to create a custom page which is different in layout from my other custom pages. That means this custom page would need a different custom template (call it custom_b).
I have already created that custom_b template and put it into the custom template folder but I can't get this to work.
Changing $currentpage = "custom_a"; to
$currentpage = "custom_b"; doesn't change anything. Still the custom_a template is used.
Quite at the end of empty.php there is a code line like
ob_start();
@include ("./" . $custom_a_content);
$ee_all_html = ob_get_contents();
ob_end_clean();
I suppose this is responsible that I can't use my custom_b template. But changing this to custom_b_contet simply gives my a blank page.
Does anybody can help me how being able to use custom_b template beside the custom_a template?
Any help is welcome! Thanks.
Tini