show locator and language Text

General questions about CMSimple
Post Reply
bastingse
Posts: 308
Joined: Fri Jun 06, 2008 9:38 pm
Location: Netherlands
Contact:

show locator and language Text

Post by bastingse » Tue Jun 06, 2017 8:45 am

Hi Folks,

I added these 2 codes to a template:

Code: Select all

<?php echo languagemenu();?>
This shows a flag only

And:

Code: Select all

<?php echo locator();?>
This shows the breadcrums only

How can i show the "Choose your language" and the "You are here" Text in front of it?
I do see this text in the languagefile so there must be a way to include that, right?

Thanks already!
Emile

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: show locator and language Text

Post by frase » Tue Jun 06, 2017 9:02 am

Code: Select all

<?php echo $tx['locator']['text'] . ' ' . locator();?>

Code: Select all

<?php echo $tx['languagemenu']['text'] . ' ' . languagemenu();?>

bastingse
Posts: 308
Joined: Fri Jun 06, 2008 9:38 pm
Location: Netherlands
Contact:

Re: show locator and language Text

Post by bastingse » Tue Jun 06, 2017 9:07 am

Thanks Frase, that did the trick.
Much appreciated!!

Emile

Post Reply