@djgprv,
Thank you for sharing,
I opted for the page copy option because i intend to use page parts within my pages.
@ Martijn,
At the moment I'm looking for hint on how to tackle the problem.
my set up is:
HTTP
page copy
as a simple hack i was thinking to check the URL just before building the menu and if the code fr, en etc is found squeeze it in as per below.
$lang = '';
$mylang = array(en, it, fr, de, nl);
explode URL into an array, trim the '?' if necessary and search array($mylangs) against code in the URL.
if the search produce a result; set the variable $lang otherwise leave it as default to be used as per below.
foreach($this->find('/$lang')->children() as $menu): ?>
I look forward for your thoughts on this.
Last edited by kirk (2012-05-13 04:10)