Jump to content

Block to build homepage

Featured Replies

Posted

There is already multilanguage block or widget that let me place on a homepage as redirect?  

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
{{else}}
 ...
{{endif}}

 

Archived

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

Recently Browsing 0

  • No registered users viewing this page.