showing different block in different language is not working if path alias is used

Hi,

I am trying to make a site that have 2 language, english and chinese.

I don't like the URL showing someting like node/123, I have path alias for everything. Like, news/group1 for node/123, news/group2 for node/234. So, the page en/news/group1 will shows node/123, zh-hant/news/group1 will shows 124 which is the chinese translation for node/123.

To save troubles, I create two different menu for different language, and then, in the block setting, I make them only showing in the respective language. That is... "Menu 1" in English, and then, in the block setting for "Menu 1", I make it shows only in pages "en/news/*". On the other hand, "Menu 2" in Chinese, and then, in the block setting for "Menu 2", I make it shows only in pages "zh-hant/news/*.

I have done with the English part and everything seems fine untill I am doing the chinese part. In node/123, I put news/group1 as the path alias. When I tried to create the chinese translation of node/123, I couldn't put the path alias "news/group1" as the path alias, as it already exists. I will have to put "zh-hant/news/group1". The page is showing correctly when I put zh-hant/news/group1 in the web browser, however, the block "Menu 2" is not showing which it should because it is set to shows in "zh-hant/news/*".

I have tried with the english version. If I put "en/news/group1" as the path alias, then, the block with setting "showing in only "en/news/*" will not show up. The block will show up if I put "news/group1" as the path alias instead. Which means, whenever I put the language in the path alias, then the block will not shows up.

i18n, showing different block on different language, with path alias doesn't work?

Hi,

I am trying to make a site that have 2 language, english and chinese.

I don't like the URL showing someting like node/123, I have path alias for everything. Like, news/group1 for node/123, news/group2 for node/234. So, the page en/news/group1 will shows node/123, zh-hant/news/group1 will shows 124 which is the chinese translation for node/123.

To save troubles, I create two different menu for different language, and then, in the block setting, I make them only showing in the respective language. That is... "Menu 1" in English, and then, in the block setting for "Menu 1", I make it shows only in pages "en/news/*". On the other hand, "Menu 2" in Chinese, and then, in the block setting for "Menu 2", I make it shows only in pages "zh-hant/news/*.

I have done with the English part and everything seems fine untill I am doing the chinese part. In node/123, I put news/group1 as the path alias. When I tried to create the chinese translation of node/123, I couldn't put the path alias "news/group1" as the path alias, as it already exists. I will have to put "zh-hant/news/group1". The page is showing correctly when I put zh-hant/news/group1 in the web browser, however, the block "Menu 2" is not showing which it should because it is set to shows in "zh-hant/news/*".

I have tried with the english version. If I put "en/news/group1" as the path alias, then, the block with setting "showing in only "en/news/*" will not show up. The block will show up if I put "news/group1" as the path alias instead. Which means, whenever I put the language in the path alias, then the block will not shows up.

Submenu below main menu...

Hello

I've harcoded my main menu into my template. What I'd like to be able to do is use the Drupal menu structure but in a different way to normal. Where, as a normal menu would work like this:

incorrect error message...

I've set the minimum number of words for a blog to 10, but if I test this by using less than 10 words it says:
"The body of your blog is too short. You need at least 0 words to submit your blog."
rather than "...at least 10 words..."

it does work, however, its just that error message is the same no matter what I set for the minimum amount of words.

I presume there's something missing from the php I'm using, which is simply

upgrade from drupal 4blog to current drupal

upgrade from drupal 4blog to current drupal
any advice how to do that?
drupal4blog was not updated in a long time and it is getting impossible to deal with trackback spam, i hope current drupal does not have this issue coul someone confirm this please.

Find Files Changed by Drupal Upgrades by Version - Dynamic Implementation

My list of files upgraded by Drupal is now dynamic - I've implemented a form where you can select your Drupal version and a list is generated telling which files were changed in an upgrade from your version to the newest version (4.7.2 at time of this posting). Currently versions 4.6.5 and up are supported, as well as version 4.5.0. If the Drupal version you are upgrading from is not listed contact me and I will add it.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.5.x or older