Page 1 of 1

Content type: Link. URL problem

Posted: Tue Nov 06, 2007 7:54 pm
by Mistraal
Good evening. CMSMS newbie here. Wonderful system you have and kudos on winning third in Packt awards.

Just a quick question. I have a multilingual site using Alby's latest multilanguage mod of the latest stable 1.2 release.

On menu items of type: "Content" the URLs of menu items contain &hl=es_ES or &hl=en_US etc etc. This is all good.

The problem I'm encountering is when I create a menu item of type: "Link" and link it to say, a sub-item of the same menu structure. The URLs created in this case do not show the &hl=es_ES etc. How would I go about tagging the language parameter to the end of these URLs?

Is there a hack I can make to a core file which will provide the same functionality currently available to "Content" menu items to "Link" menu items?

I hope that my request is clear and look forward to any and all responses.

Re: Content type: Link. URL problem

Posted: Tue Nov 06, 2007 10:52 pm
by alby
Mistraal wrote: Just a quick question. I have a multilingual site using Alby's latest multilanguage mod of the latest stable 1.2 release.

On menu items of type: "Content" the URLs of menu items contain &hl=es_ES or &hl=en_US etc etc. This is all good.

The problem I'm encountering is when I create a menu item of type: "Link" and link it to say, a sub-item of the same menu structure. The URLs created in this case do not show the &hl=es_ES etc. How would I go about tagging the language parameter to the end of these URLs?

Is there a hack I can make to a core file which will provide the same functionality currently available to "Content" menu items to "Link" menu items?

I hope that my request is clear and look forward to any and all responses.
Link type is usefull for "external" link (for "internal" link there is cms_selflink or orange palm in editor for this), language is less important (IMHO).
However I think, maybe, of build a MLE 1.2a in this weekend:

FIX:
- CMSMS 1.2 fix (this)
- Quality Assurance: GetTemplateFromFile bug (this)

IMPROVED:
- mod_rewrite htaccess for CMSMS MLE (thanks to josin this)
- add class parameter in lang plugin

FEATURE REQUESTS:
- add text parameter in lang plugin (this)
- add urlparam parameter in lang plugin (this)
- Link type multilingual: field url for each language (this)

Can you test last point?

Alby