Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 09:37:27 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149686 Posts in 21102 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Bookings droplet language  (Read 421 times)
anz

Offline Offline

Posts: 48


« on: March 15, 2010, 03:15:14 PM »

I'm using the bookings modul for a new website. in a sidebar I'm also using the bookings droplet to show the current month. so far everything is working fine, but where can I change the language for the current month?

[[Bookings?page=29&section=44]]

page 29 ist the year overview, the language there is okay (EN)! but the current month is DE!?

thanks for your help!
Logged
WebBird
Guest
« Reply #1 on: March 15, 2010, 04:07:34 PM »

Hmmm... Are you sure that the LANGUAGE constant is set correctly?

Try to change the Droplet code like this to see:

Old:

Code:
$return[] = Bookings_Month_Sheet( $_year, $_month, $section, true );
$return[] = '</div>';
return implode('', $return);

New:

Code:
$return[] = Bookings_Month_Sheet( $_year, $_month, $section, true );
$return[] = "Language constant: -" . LANGUAGE . "-<br />";
$return[] = '</div>';
return implode('', $return);
Logged
anz

Offline Offline

Posts: 48


« Reply #2 on: March 15, 2010, 04:46:15 PM »

I think I know what's wrong. I'm sorry, I have chosen the language on the page with the month dropplet instead of the page itself... thank you very much! the bookings modul is really great!
Logged
WebBird
Guest
« Reply #3 on: March 15, 2010, 07:21:09 PM »

Thnx. grin
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!