I'm having problems to get pathauto working with [menu] and [menupath] with the menu structure that I'm using. I'm not sure if this is a known issue or not (I did try to search)
Drupal version: 5.0
Pathauto version: 5.x-1.0
I'm createing a new site for Finnish Curling Association (www.curling.fi). The drupal-based development site can be found at www.curling.fi/dev/. The site will be bilingual (Finnish, English). Because the English version of the site will be significantly smaller than the Finnish version I'm not using i18n-module that is ideal if you're translating more content than we are. Instead I'm differentiating the English content from Finnish content by specifying a language category value for each story-node. The pages written in English can then be found at www.curling.fi/dev/en/something and Finnish pages at www.curling.fi/dev/fi/something_else
I have multiple menus on the site.
- Primary menu
- Has links to Finnish and English front pages (upper right corner)
- Visible on all pages
- fi_menu_1
- Finnish top menu (Etusivu, Curling lajina, Curlingliitto, Sarjat ja kilpailut, Keskustelufoorumi)
- Visible on all pages except en, en/*
- en_menu_1
- English top menu (Currently only "Home")
- Visible on only pages en, en/*
- laji
- Submenu for "Curling lajina" (left sidebar)
- Visible on only the following pages: fi/laji, fi/laji/*
- liitto
- Submenu for "Curlingliitto" (left sidebar)
- Visible on only the following pages: fi/liitto, fi/liitto/*
- sarjat_ja_kilpailut
- Submenu for "Sarjat ja kilpailut" (left sidebar)
- Visible on only the following pages: fi/sarjat_ja_kilpailut, fi/sarjat_ja_kilpailut/*
The Node Path Settings are as follows:
- Default path pattern: [title]
- Pattern for all Curlinglehden artikkeli: fi/liitto/lehti/[cat]/[title]
- This is working as expected (no problems with [cat] or [title]
- "Curlinglehden artikkeli" is a node type for articles published in Finnish Curling Magazine.
- [cat] refers to article types of the magazine which has nothing to do with language category described above (the magazine is only in Finnish) and does not have language category at all)
- Pattern for all Tavallinen sivu (story) paths: [cat]/[menu]/[title]
- Here [cat] refers to the value of language category ("fi" or "en", required)
- [cat] part of this pattern is working as expected but [menu] doesn't do anything. I have tried both [menu] and [menupath] directives to get pathauto create URL-aliases like http://www.curling.fi/dev/fi/liitto/koulutusohjelmat
- All that is happening is that I get aliases like http://www.curling.fi/dev/fi/title_of_the_story
- So only the [cat] part of the pattern is working as expected
Almost all URL-aliases currently in use are created manually. Only exceptions are the category aliases that are working as expected. These category aliases are the aliases for magazine articles (only one category value at the moment, "kisaraportit") http://www.curling.fi/dev/fi/liitto/lehti/kisaraportit
I'm more than willing to give any additional information to help to solve this problem. You can contact me by email at markus [dot] sipila [at] curling [dot] fi.
Comments
Comment #1
Leeteq commentedShould this one be closed?
If not, please update the version number and confirm that it is also a problem with Drupal 5.1.
Comment #2
gregglesThis seems like a duplicate of http://drupal.org/node/75558
Note that SeanBFuller had a possible fix in http://drupal.org/node/75558#comment-255302
Comment #3
gregglesASsumed to be a duplicate.