Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

How to rename the menu name or Adding the new menu name (1 reply)

$
0
0
Hi Sir..

I am try to add new menu and rename the exist menu name .but i m unable to add the menu ..can any one guide me how i can add any example for that ..

i need to change the exist Dashboard name to My Dashboard

I found two function for that in : core/Menu/MenuAbstract.php page. ..

Rename:

public function rename($mainMenuOriginal, $subMenuOriginal, $mainMenuRenamed, $subMenuRenamed)
{
$this->renames[] = array($mainMenuOriginal, $subMenuOriginal,
$mainMenuRenamed, $subMenuRenamed);
}



Add new name:

public function rename($mainMenuOriginal, $subMenuOriginal, $mainMenuRenamed, $subMenuRenamed)
{
$this->renames[] = array($mainMenuOriginal, $subMenuOriginal,
$mainMenuRenamed, $subMenuRenamed);
}


Actually i did not get that file from where u r getting the menu name ie:dashboard,visitor..etc..It will be great help if u can help me how i can solve that issue..

Thanx in adavance..

Regards

Sam

Viewing all articles
Browse latest Browse all 4243

Latest Images

Trending Articles



Latest Images