Hi all,
I have followed the book and, up to page 141, everything it’s ok.
Which files have I to change, as explained in the note in page 145, under ../protected/views/issue/, and how ?
It is not so simple for a beginner understand where to put changes; if you could help me, it should be great.
Thank you in advance.
hnamd
(Mitra Handsomefriend)
December 18, 2011, 7:08am
2
Yes laudio.ferrari has raised a valuable question i think some one should look on this.
yasen
(Yasenpetrov)
December 18, 2011, 11:17am
3
The final tweaks are about passing the project_id as a url parameter. The files under views/issues/ define the navigation links and some of them need to be editted. Here is for example views/issues/admin.php and it’s navigation part:
$this->menu=array(
array('label'=>'List Issues', 'url'=>array('index', 'pid' => $this->project->id)),
array('label'=>'Create Issues', 'url'=>array('create', 'pid' => $this->project->id)),
);
You may also want to read this thread which is relevant to Chapter 6 final tweaks:
http://www.yiiframework.com/forum/index.php?/topic/12999-ch-6-note-about-exit-exercise-viewissueupdatephp/