Jump to content

Block to build homepage


Recommended Posts

I am unsure what you mean by "as redirect" - if you redirected visits to your homepage, then anything you embedded wouldn't show up to the end user.

To answer your first question, you would have to build it manually, i.e. doing something like this in a Pages custom block:

{{if \IPS\Member::loggedIn()->language()->short == 'en_US'}}
 English text
{{elseif \IPS\Member::loggedIn()->language()->short == 'de_DE'}}
 German text


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...