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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

Different footer's on translated pages


Go to End


1044 Views

Avatar
lars

5 Posts

10 July 2008 at 2:11am

Anyone who know if it's possible to have different footers for different translations of the same page? Some kind of "if lang=sv then footertext1 elseif lang=en then..."

I tried to create a new pagetype (EEPage for estonian Footer) and tried to just use another footer-text in that page's template. It works on the public website, but the CMS get's messed up when doing this. I get a "Fatal error: Call to a member function getAllFields() on a non-object" error when trying to open the EEPage after this changes.