Context module and language-dependent frontpage

Events happening in the community are now at Drupal community events on www.drupal.org.
techakone's picture

Hi, I am working on a site designed to be bilingual and am using OP 1.7. I subthemed the OP theme and being new to Drupal, it took me a while to figure out that the frontpage layout was handled by the frontpage context item. So my aim is to duplicate that frontpage context, let's say to a frontpage_fr and make the same blocks available, but with French content. My problem is that it did not work when i specified the path as "fr". I looked into and saw that the Context module in version 3 takes in account language as a context factor, which would be ideal for me, but it seems that even OP 2 uses the 2.x version of Context. Is there another way to do this in OP 1.7 or am i doomed to remove my hair one at a time?

Comments

Just to be clear.. You cloned

kenyan's picture

Just to be clear..
You cloned the frontpage context and called it frontpage_fr
You changed the path of this frontpage_fr to fr
Your french language content is retrieved at path domain.com/fr

Question, what happens when in site information, you change your site front path to fr with the frontpage context disabled and frontpage_fr enabled?

yes

techakone's picture

It won't display anything, i guess that for drupal having "www.mysite.com/en/node" and "www.mysite.com/fr/node" are the same value, so only the existing Context is activated.

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: