WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • Bookings droplet language
  • Print
Pages: [1]   Go Down

Author Topic: Bookings droplet language  (Read 5248 times)

Offline anz

  • Posts: 76
Bookings droplet language
« 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
Re: Bookings droplet language
« 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: [Select]
$return[] = Bookings_Month_Sheet( $_year, $_month, $section, true );
$return[] = '</div>';
return implode('', $return);

New:

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

Offline anz

  • Posts: 76
Re: Bookings droplet language
« 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
Re: Bookings droplet language
« Reply #3 on: March 15, 2010, 07:21:09 PM »
Thnx. :-D
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • Bookings droplet language
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2