Hello I would like to ask you to help me with a problem. I have 3 languages on my website installed. Now i want to make a block with a introduction text. How can i make a block with a introduction text. I want to include ofcourse the 3 diferent languages and show depending of which languages a visitor choose. When they choose Spanish ,i want to show the Spanisch text end so on.
A block with title,eg: welcome to....,And under this title the introduction text. I hope you understand what i mean.
Thanks in advance. |
As i see it you want to use the translation system within D7, right?
If yes, try creating a Language key with the introduction text in the 3 languages, then instead of the actual text put the key in the new block!
NickL
|
Yes thats correct D7.
How you tell it it looks simple but .....
What kind of block do i have to use,a HTML block?
And becuase i have three languages,i put three language keys in the block?
I am sorry,but all this is quit new for me.
|
Yes thats correct D7.
How you tell it it looks simple but .....
What kind of block do i have to use,a HTML block?
And becuase i have three languages,i put three language keys in the block?
I am sorry,but all this is quit new for me.
Yes give it a try
|
|
probably you
need to use a PHP block, you can use this code
echo _t( "_Language_Key" );
|
Ok,and how can i make a php block in the mainpage menu?
I see a html block,but no php block.
Can you explain please,i realy cant get this working.
|
|
Or you can add this to the page builder Deano's Add PHP Block
you can then add a PHP-block just like you do with a HTML-block in the page builder
|
Yes, Deano's Tools are of excellent work, they'll also be pretty helpfull |