3373 Posts in 947 Topics by 848 members
|Go to End|
30 October 2009 at 10:57pm
I'm quite new to SS so perhaps this is obvious to you but I used monster Google and found nothing helping...
What I try to achieve is, I have a template for the Homepage where I have to show the navigation. I Currently use this code here:
But because I need to translate the website whenever I change the language SS barks at me with the following message:
[Warning] Error running : page 'Home' couldn't be found
Line 72 in /var/www/sapphire/core/control/ContentController.php
Could anyone please help me? Atm I think that I need to use ChildrenOf because the first level Links are fixed by the template.
2 November 2009 at 9:05am
Hm, ChildrenOf() doesnt give you any children that are not in the current locale.
Have a look at this recipe: http://doc.silverstripe.org/doku.php?id=multilingualcontent&s=translatable#templates
|Go to Top|