17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1419 Views |
-
extending menu controller

19 March 2008 at 12:46am
I'd like to extend menu controller by adding the function to modify my links:
function myLink() {
return $this->Link() . "?fv=".$_GET['fv'];
}I've added it now to: class Page_Controller extends ContentController
the value of $myLink variable shows now on the page but still have empty value
withing menu (take a look below):
<% control Menu(2) %>
$newLink
<% end_control %>what should I do to get value of $newLink within control Menu(2) ??
thanks in advance
-
Re: extending menu controller

19 March 2008 at 7:23am
Your function is myLink(), so why are you using $newLink?
| 1419 Views | ||
|
Page:
1
|
Go to Top |

