I am having a page. And i divided the page in to two panes.(Left and Right)There are certain links in left pane and if any of the links is clicked in left pane,the corresponding content has to be displayed in right pane.
Just create main.php, put it into /protected/views/layouts/ and use. For example main.php can looks like:
... html header here ...
<div id="page">
<div id="sidebar">
... your links here ...
</div>
<div id="content">
<?php echo $content; ?>
</div>
</div>
... html footer here ...
When i give this code and if i click the link (ex: Create a New User) its going to "/login/create.php" only. It is not displaying in the same page. What to do to display it in the right pane of the same page.
Do i need to change any other content in any of the file to display it in the right pane of the same page?