| 345 | |
| 346 | ---- |
| 347 | |
| 348 | == '''''How can I create a language file based HTML block?''''' == |
| 349 | |
| 350 | '''1)''' First you need to create an empty HTML block the way it is described [http://www.boonex.com/trac/dolphin/wiki/NewPageCreation#CreatingasearchenginefriendlynewDolphinpage here]. |
| 351 | |
| 352 | '''2)''' Open the '''!PageCompose''' table in phpMyAdmin manager, find the record referring to your newly created page and edit the following columns for it: |
| 353 | |
| 354 | '''Func''' - should contain the only word '''PHP''' |
| 355 | |
| 356 | '''Content''' - should contain this statement |
| 357 | {{{ |
| 358 | echo _t("_key_name"); |
| 359 | }}} |
| 360 | where ''_key_name'' is the name of the language key which you will use to refer to this content. |
| 361 | |
| 362 | '''3)''' Create a key named ''_key_name'' in '''Admin Panel -> Settings -> Language Settings''' and specify its contents for every language you have installed. |