I have my own template design(html) for my new project. Now i have to integrate it into akelos. let me know how can i do that? My template consists of 3 main parts n each part is divided further.
Header section: It contains 3 layers one below the other (title, meta desc. and keywords should be dynamic) 1. Porject name with some imgs 2. Menu 3. 5 random imgs under menu part
Body: 1. Left section with some links 2. main body which changes based on the links in the left section
footer: with some links like privacy, compy info
Let me know how to divide n integrate new templates????
CommentAuthorbadPussycat
Hi GKSR,
place your html in app/layouts/application.tpl that's your "FRAME" covering your content (output fom the actions) then you write a variable in your controller
class UserController extends ApplicationController { var $layout = 'application'; ....... now he is using your layout :-)
place <?php echo $text_helper->flash();?> <?php echo $content_for_layout; ?>
where your content and your flash messages should appear
useful functions:
<?php echo $controller->renderPartial('layouts/sidebar') ?> save your partials with underscore (_sidebar.tpl)