Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Menu Function Customization


Reply

2 Posts   1031 Views

Avatar
Nivanka

12 November 2008 at 8:59am Community Member, 395 Posts

Hello,

I need to build a bilingual website, in this case I started by defining a new page type and setup the backend where the user can enter content in both the languages in separate fields. I managed to switch within the languages with using some session variables.

Now I want to change the MenuTitle, I believe that for this I need to find out where the Menu function is and have to override it on my page.

Can someone please tell me where is the original menu function is?

Avatar
Nivanka

12 November 2008 at 6:01pm (Last edited: 12 November 2008 6:11pm), Community Member, 395 Posts

I managed to find it by myself, I will post a new thread for the codes I did, anyone needs a bilingual site can use it, Take from here.

[url]http://www.silverstripe.com/extending-hacking-silverstripe-forum/flat/225382?showPost=225382[/url]