I would like to know how I can just place path to one file or link instead of many links on each view for the right side menu.(which points to different controllers and their views)
Right now I have to cpy all my links to each view.
I would like to know how I can just place path to one file or link instead of many links on each view for the right side menu.(which points to different controllers and their views)
Right now I have to cpy all my links to each view.
How about put links in one file (_link.php) and include it in views with renderPartial.
example (in view file) :
echo $this->renderPartial('_link');
I believe there is a problem in this correct me if I am wrong
But the _link files will have to be in each main view folder such as details, contacts which have their own _form,_view files