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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


1303 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.