Monday, February 21, 2011

adding a new link and view to a cakephp websites

hello there.. I've been having troubles modifying a website which uses
cakephp framework. I'm trying to add new link button that will show a
new view in the content div.. I've made the link in the nav bar, but
i'm out of ideas where to create the new view. I made a new .ctp files
in the view folder and use the existing controller where i added
another function inside the controller. I want the nav bar, the color
n everything else stays only the content div change.. :

<?php echo $html->link (__('System Setting',true), array
('controller'=>'committees','action'=>'setpages')) ?>

when i create a div in the setpages.ctp and the css file, nothing
comes out. I'm also truly, madly, deeply confused with
$content_for_layout! where is it? what's actually in it? how can i
edit it? I'm a slow poke snail... T_T having hard time understanding
the manual. thank you and please help me.

sorry for my bad english^^ *peace no war*

--
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


Real Estate