Page 1 of 1

Calendar and MLE

Posted: Thu Jan 10, 2008 7:41 pm
by wietster
Hello All,

I have a question about the calender module I like it to change automaticly to the parent language

This the page http://bungalow.klikmagnaat.nl/index.php?page=test&hl=de_DE

I put the calender code in my template:
{cms_module module="Calendar"  table_id="big" display="calendar" compact_view='0' detail='0'  use_session="0"
month_offset="0" }

and i added lang="$lang" and lang="$parent_lang" as variable but it changed nothing.

Is it possible to get this working and so yes how. ???


I put the code in my template because i want to make a calender of 1 year that update automaticly en das not need content or so


Thank in advance

Re: Calendar and MLE

Posted: Fri Jan 11, 2008 12:24 am
by chotaboy
howdid you get it to go

mon-sun rather than the default sun-sat

ive struggled with that.. and by struggled i mean coulden't figure where to start :)

Re: Calendar and MLE

Posted: Fri Jan 11, 2008 6:12 pm
by wietster
Hello chotaboy

I have used this patch for the calendar the it all goe automaticly  ;)

http://dev.cmsmadesimple.org/tracker/index.php?func=detail&aid=1749&group_id=20&atid=159

Open it with notepad or dreamweaver or whatever and everything with a plus in front of it copy past it to the function.displaycalendar.php every thing with the - in front is what in the function.displaycalendar.php already so do change that

Good luck

Wietster

Re: Calendar and MLE

Posted: Fri Jan 11, 2008 6:15 pm
by wietster
Hello,

Oke find the solution allready so to apelly the parent languga from a page just put lang"$lang" like this

{cms_module module="Calendar"  table_id="big" display="calendar" compact_view='0' detail='0'  use_session="0"
month_offset="0" lang"$lang"}

and the monthnames change automaticly with the language

Re: Calendar and MLE

Posted: Fri Jan 11, 2008 8:10 pm
by alby
wietster wrote: Hello,

Oke find the solution allready so to apelly the parent languga from a page just put lang"$lang" like this

{cms_module module="Calendar"  table_id="big" display="calendar" compact_view='0' detail='0'  use_session="0"
month_offset="0" lang"$lang"}

and the monthnames change automaticly with the language
I don't have Calendar but I can install.
It's solved?

Alby

Re: Calendar and MLE

Posted: Sun Jan 13, 2008 11:35 am
by wietster
Alby,

Yes it solved

Wietster