add 4 language texst...

Hello, i want make a text aviable and seen in 4 languages.
so, a new button, ok.. that is not a problem.

But i make also a new page, a new html blok and put it in the page with the block tools of daeno.

But in the block it's only 1 language possible, but i have 4 languages on my website...

How to do it please???

http://www.busimatch.club ( The most exclusive business club)
Quote · 16 Jun 2013

bump....

http://www.busimatch.club ( The most exclusive business club)
Quote · 17 Jun 2013

You should not use my tools to create html blocks. Use dolphins built in page builders. The html block section in my tools is only there so you can use it to insert content that is normally stripped out by the tinymce editor in the page builders. Otherwise use the tools built into dolphin.



Anyhow. To answer your question.

HTML blocks are not multi language.

If you need content in more than one language then that content must be put in a language key which is what the language keys are for. Then you can display the content of the language key in a block. But you can only do that in a php block.

Step one. Create a new language key.

Key name: _myNewKey
Key Text: My sample text.

Then in a php block use this code to display the content of that language key.

echo _t('_myNewKey');

https://www.deanbassett.com
Quote · 17 Jun 2013

Thank You :-)

I gonna test this right now.

http://www.busimatch.club ( The most exclusive business club)
Quote · 18 Jun 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.