-
-
Save thelebster/d18de5d2931b3f768c6e to your computer and use it in GitHub Desktop.
drupal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Set prefix for all language evene default will solve verry errors | |
| go to Language/ edit English. Set prefix for it (all language must have prefix). | |
| The default frontpage needs to be applied for EACH language (didnt know that). In my case for: | |
| ---> admin/settings/site-maintenance | |
| ---> /en/admin/settings/site-maintenance | |
| ---> /es/admin/settings/site-maintenance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function MYTHEME_preprocess_block(&$variables, $hook) { | |
| if ($variables['block']->module == 'nodeblock') { | |
| $variables['elements']['#block']->subject = NULL; | |
| } | |
| } | |
| ?> | |
| or simply just add <none> to title block |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Actually configure Postfix or Sendmail for PHP mail() is the same. Both of them run the /usr/sbin/sendmail binary. It is quite confusing if we just look at the name of the binary but this is what Postfix did. | |
| For more information, take a look at the Postfix Manual – sendmail. | |
| For the PHP setting, open the /etc/php5/apache2/php.ini and configure the sendmail_path. | |
| php.ini | |
| 1 ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). | |
| 2 ; http://php.net/sendmail-path | |
| 3 sendmail_path = "/usr/sbin/sendmail -t -i" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Multi-language | |
| Language icons | |
| Translation Management | |
| translation table |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if the default set up didnt work (http://drupal-translation.com/content/setting-front-page-language) then use this guide; | |
| have experienced the same problem and I managed to solve it by specifying prefix for both languages. Then I have edited site info for: | |
| English: | |
| example.com/en/admin/settings/site-information | |
| and specified -Default front page: | |
| example.com/en/ node/7 (node number of home English) | |
| and Polish: | |
| example.com/pl /admin/settings/site-information | |
| and specified -Default front page: | |
| example.com/en/ node/11 (node number of home Polish) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Setup with several domain names in D7 | |
| I was searching how to setup with several domain names. | |
| First : in Config > Regional and language > Languages > Detection and Selection => enable URL then configure check domain. | |
| Second : in Config > Regional and language > Languages edit each language and setup the domain name | |
| Thrid : login in each website to setup the Default front page in Config > Site information | |
| That's all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment