We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Modify link in header menu | Forum

Daniel
Daniel Dec 29 '11
Hello all,

i want to modify my header menu.

Now the links in the menu is like "http://www.your-domain.de/my-profile"

I want to change the menu item to "http://www.your-domain.de/mein-profil"
This change i want to make for every menu item including the sidebar menu.

Is it possible to do that? Where can i change this items?

Thanks in advance.

Lg
Wasserwolf
Sardar
Sardar Jan 4 '12
Hello Daniel,

Sorry to say, but all non custom page links are hardcoded in the routing system. We do not recommend you to change them. If you are sure you want to do it, you'll find most part of routing declarations in `ow_system_plugins/base/init.php`. 
To change the url you mentioned in your post you should take a look at the line 66. Replace this code:
$router->addRoute(new OW_Route('base_member_profile', 'my-profile', 'BASE_CTRL_ComponentPanel', 'myProfile'));
with:
$router->addRoute(new OW_Route('base_member_profile', 'mein-profil
', 'BASE_CTRL_ComponentPanel', 'myProfile'));