Re: Layout
I hvae created default .ctp and one css. Its showing content and
headermenu. What I want is a left side list view of patients.While the
contents are changing with the selection of menu.
This is my default.ctp
<?php echo $html->docType('xhtml-trans'); ?>
<html>
<head>
<title><?php echo $title_for_layout; ?></title>
<?php echo $html->css('styles'); ?>
</head>
<body>
<div id="header">
<?php echo $this->Html->link(__('Visits', true),
array('controller' => 'visits', 'action' => 'index')); ?>
<?php echo ' '.$this->Html->link(__('Doctors', true),
array('controller' => 'doctors', 'action' => 'index')); ?>
</div>
<div id="container">
<?php echo $session->flash(); ?>
<?php echo $content_for_layout; ?>
</div>
<div id="LeftlistView">
<--! Here i needed a list of patients always irrespective of
change in content_for_layout--!>
</div>
</body>
</html>
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home