Calendar and MLE

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
wietster
Forum Members
Forum Members
Posts: 35
Joined: Thu Dec 20, 2007 6:27 pm

Calendar and MLE

Post 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
chotaboy
Forum Members
Forum Members
Posts: 60
Joined: Tue Sep 11, 2007 3:05 am

Re: Calendar and MLE

Post 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 :)
wietster
Forum Members
Forum Members
Posts: 35
Joined: Thu Dec 20, 2007 6:27 pm

Re: Calendar and MLE

Post 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
wietster
Forum Members
Forum Members
Posts: 35
Joined: Thu Dec 20, 2007 6:27 pm

Re: Calendar and MLE

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

Re: Calendar and MLE

Post 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
wietster
Forum Members
Forum Members
Posts: 35
Joined: Thu Dec 20, 2007 6:27 pm

Re: Calendar and MLE

Post by wietster »

Alby,

Yes it solved

Wietster
Locked

Return to “[locked] CMSMS MLE fork”