Hello
I Want to write a page link in two line for a particular link,I am giving the code in pure php.i need to implement the same code in silverstripe
if($MenuTitle=="Commentating ,& After Dinner Speeches" )
{
$a=explode(',',$MenuTitle);
$MenuTitle=$a[0]."<br/>".$a[1];
}
NOTE:What I am doing is,I am trying to break the link of the page name 'Commentating ,& After Dinner Speeches' into two part, and display the link in navigation as
Commentating
& After Dinner Speeches
Thank you in advance
Please help me out in solving this issue