Content type: Link. URL problem

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Mistraal

Content type: Link. URL problem

Post 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.
alby

Re: Content type: Link. URL problem

Post 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
Last edited by alby on Wed Nov 07, 2007 3:06 pm, edited 1 time in total.
Locked

Return to “CMSMS Core”