Установка и настройка сайта, а также системного окружения. Исключая вопросы программирования новых модулей и тем.
См. документацию на английском: http://drupal.org/node/258
I tested and confirmed that the code was effecting the usage of aliasing because of the typo. The snippet is now correct.
You make a very valid point for footprinting. I want to change my 5.0 install node to content... Can you confirm that this works in 5.0 and do I need the PHP tags in there? The settings.php I have now has an opening PHP tag but no closing tag and lots of remarks...
Thanks.
using post I think is more logical unless I'm overlooking something.. I mean my site is majorly based on forum content so the users know what a post is most likley. I mean some of my users I know don't even understand the word content that well.
I'm wondering, are there any problems in changing /node/ with the settings script that can effect a site in the future?
Also, do you think /post/ is more suitable?
If you are the type that has to upgrade with every release then you may no want to do this. It can be done in 4.7 but not in 5.1 and 6.0 is an unknown.
По умолчанию, после названия домена, Drupal добавляет слово node. Но его можно заменить любым другим словом. Делается это следующим образом.
Добавьте в файл settings.ini следующий код:
По умолчанию этот файл доступен только для чтения, поэтому сначала разрешите запись в этот файл, а после внесения изменений обязательно верните атрибут «только для чтения» обратно.
-------
i followed the notes, but didnt' work.. i think it has something to do with this line...
return preg_replace('!^node/(\d+)$!', 'display/\1', $path);
all my links showed us as /display/#/ .. changing that line to 'content' fixed it.
leftover from an old implementation?
-bruce