Welcome, Guest. Please login or register.
Did you miss your activation email?
February 13, 2012, 01:36:48 AM

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.
149700 Posts in 21103 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: 1 ... 10 11 [12] 13 14 ... 16   Go Down
Print
Author Topic: Bookings module - current version 2.22 (see page 13)  (Read 47074 times)
Falcon

Offline Offline

Posts: 50


« Reply #275 on: November 14, 2009, 01:28:46 PM »

Hello,

the module fits my needs, but I need only a month view (is enabled in the settings)
with a width of about 500px.
I tried severals settings in the frontend.css, but it seems impossible.

Is there any change to realize that, e.g. with a seperate css?

Any suggestions.

Thanks
Falcon
Logged
WebBird
Guest
« Reply #276 on: November 14, 2009, 01:36:54 PM »

Have you tried

Code:
table.bookings_sheet {
    width: 500px;
}

 huh
Logged
Falcon

Offline Offline

Posts: 50


« Reply #277 on: November 14, 2009, 01:44:37 PM »

Great, it works!

How can I change the value for height?

This doesn't work:
Code:
table.bookings_sheet {
    width: 500px;
    height:100px;
}
Logged
WebBird
Guest
« Reply #278 on: November 14, 2009, 01:50:11 PM »

This won't work if the space the table contents need is more than 100px. Try to decrease the font size and/or the padding.

Code:
#mod_bookings td {
    font-size: <whatever-you-need>;
}

Edit: You may try to install Firebug! https://addons.mozilla.org/de/firefox/addon/1843

It's also available for IE or Opera, but with less functions. http://getfirebug.com/
« Last Edit: November 14, 2009, 01:54:46 PM by WebBird » Logged
Falcon

Offline Offline

Posts: 50


« Reply #279 on: November 14, 2009, 02:03:42 PM »

Thanks a lot, works too!

I will try the firefox addon, I didn't know about it.

Thanks,
Falcon
Logged
WebBird
Guest
« Reply #280 on: November 14, 2009, 02:07:47 PM »

I'm sure you will ask yourself how you could ever live without it after getting familiar with it. grin
Logged
Falcon

Offline Offline

Posts: 50


« Reply #281 on: November 14, 2009, 04:14:41 PM »

I can't believe it, great tool, how could I live without it.

Thanks, thanks.

Falcon

Logged
ronald32

Offline Offline

Posts: 25



WWW
« Reply #282 on: November 24, 2009, 10:23:16 PM »

Hallo Webbird,

On my site I have installed bookings v2,19 voor vacation apartment.
I'd like to show the section with the bookingcalendar on the Dutch part of the website and the German part.

A made a page (1): http://www.duinenzee.nl/web/pages/kalender.php?year=2010

On the next page I have been using the "section picker" (the "German" page) (2): http://www.duinenzee.nl/web/pages/belegungskalender.php?year=2010 (the bookings calender is shown at the bottom of the page)

Problem: the bookings are not shown as in the first (1) link, There are no entries displayed...

It works well with the bookings "droplet" (displayed at the front page of the website http://www.duinenzee.nl/web/), there is one month displayed and all the entries are correct.... If there would be a droplet which the current year was displayed that would be a solution. Would that be possible and can you adjust  the bookings (months version) droplet to a bookings droplet year version?

or is there an easier solution???

greetings from Holland
Ronald

Logged
WebBird
Guest
« Reply #283 on: November 25, 2009, 10:28:43 AM »

I think the section picker is not passing the page_id or the section_id to the module. Both are needed to get the bookings. I'll take a look at that. Stay tuned. wink

Edit: Bookings uses both the page_id and the section_id. But, of course, if included on another page using Section Picker, the page_id is not the ID of the bookings page.

I think the only way will be to only use the section_id.
« Last Edit: November 25, 2009, 10:47:58 AM by WebBird » Logged
WebBird
Guest
« Reply #284 on: November 25, 2009, 10:47:25 AM »

Please try the attached functions.php.

Note: There will be no frontend editing on the page including "Bookings" via Section Picker! I am not going to change this. Frontend editing will only be available on the "original" Bookings page.
Logged
ronald32

Offline Offline

Posts: 25



WWW
« Reply #285 on: November 25, 2009, 11:03:57 AM »

Hello Webbird,

Great, it works! Thanks for the quick reply! http://www.duinenzee.nl/web/pages/belegungskalender.php

Regards Ronald

Logged
WebBird
Guest
« Reply #286 on: November 25, 2009, 12:52:08 PM »

Great. grin So here's v2.20.
Logged
maverik

Offline Offline

Posts: 1541



WWW
« Reply #287 on: November 25, 2009, 04:46:11 PM »

in frontend i cant save groups

in backend i can save groups
Logged

Signatur wird geladen...
WebBird
Guest
« Reply #288 on: November 25, 2009, 04:55:10 PM »

On bookings page, or on Section Picker page?
Logged
Falcon

Offline Offline

Posts: 50


« Reply #289 on: November 25, 2009, 04:58:48 PM »

Hello,

how to update from 2.19. I didn't try that, but normally you have to
deinstall and install new, but thats not possible if the modul is in use.

Where are the changes to 2.19. Maybe only one or two files could
be change?

Falcon
Logged
maverik

Offline Offline

Posts: 1541



WWW
« Reply #290 on: November 25, 2009, 05:07:37 PM »

on bookings page

http://websitebaker.net/pages/labor/bookings.php

you can login to your account i made some month ago
Logged

Signatur wird geladen...
WebBird
Guest
« Reply #291 on: November 25, 2009, 06:38:20 PM »

Just install via Backend (without uninstalling first) or replace functions.php and info.php.
Logged
zarathustra.at

Offline Offline

Posts: 56


« Reply #292 on: November 26, 2009, 12:21:01 PM »

Hi,

has anyone done an Italian translation of this module? If not, I'd do it.
Logged
WebBird
Guest
« Reply #293 on: November 27, 2009, 05:53:20 PM »

Not yet. Would be great if you'd do it. smiley
Logged
WebBird
Guest
« Reply #294 on: November 27, 2009, 07:38:13 PM »

in frontend i cant save groups

in backend i can save groups

I think I found it. See functions.php line 1615:

Code:
<form name="edit" action="<?php echo $action?>?page_id=<?php echo $page_id?>&amp;section_id=<?php echo $section?>&amp;modify=1" method="post" style="margin: 0;">

Change to:

Code:
<form name="edit" action="<?php echo $action?>?page_id=<?php echo $page_id?>&amp;section_id=<?php echo $section?>&amp;editgroups=1" method="post" style="margin: 0;">

Let me know if it works.
Logged
geasy

Offline Offline

Posts: 31


« Reply #295 on: November 27, 2009, 07:48:07 PM »

Hi Webbird

Many thanks for this excellent module. I like it very much. After some struggling with FF / IE issue in the year view everything works fine now.

Just one question and a wish:

- I don't want that my users can add bookings without a visible booking text. Is it possible disable this function somewhere? Or alternativeley: How could I set "visible" as the default choice when adding a new booking?

- I am going to use your tool for the booking of a dog training field. Some of the groups training their dogs have fixed times (eg. thursdays from 18:00 to 20:00). So the field is blocked for them. Thus it would be of great help, if it was possible to add recurring bookings. I think that's not an easy thing to implement. However, I would be really thankful for that.

Claudio
Logged
WebBird
Guest
« Reply #296 on: November 27, 2009, 08:04:11 PM »

- I don't want that my users can add bookings without a visible booking text. Is it possible disable this function somewhere? Or alternativeley: How could I set "visible" as the default choice when adding a new booking?

If it's okay to disable it at both frontend and backend, do the following:

In file functions.php, find

Code:
<form name="modify" action="<?php echo $action?>" method="post" style="margin: 0;">
<input type="hidden" id="section_id" name="section_id" value="<?php echo $section?>" />
<input type="hidden" name="page_id" value="<?php echo $page_id?>" />
<input type="hidden" name="bookings_id" value="<?php echo $bookings_id?>" />

(Should be line 1145ff)

AFTER, add:

Code:
<input type="hidden" name="hidename" value="n" />

(Make sure to add this BEFORE <?php)

Now, find:

Code:
    <tr>
        <td class="mod_bookings_left">
            <?php echo $MOD_BOOKINGS['NAME']; ?>
        </td>
        <td class="mod_bookings_right" colspan="2">
            <input type="text" name="name" value="<?php echo htmlentities($name); ?>" style="width: 200px;" /><br />
            <input type="radio" name="hidename" value="y" <?php echo ( isset($show_hide_selected['y']) ? $show_hide_selected['y'] : '' ?> />
              <?php echo $MOD_BOOKINGS['HIDENAME']; ?>
            <input type="radio" name="hidename" value="n" <?php echo ( isset($show_hide_selected['n']) ? $show_hide_selected['n'] : '' ?> />
              <?php echo $MOD_BOOKINGS['SHOWNAME']; ?>
        </td>
    </tr>

(Line 1230ff before adding the new line.)

Change to:

Code:
    <tr>
        <td class="mod_bookings_left">
            <?php echo $MOD_BOOKINGS['NAME']; ?>
        </td>
        <td class="mod_bookings_right" colspan="2">
            <input type="text" name="name" value="<?php echo htmlentities($name); ?>" style="width: 200px;" /><br />
        </td>
    </tr>

- I am going to use your tool for the booking of a dog training field. Some of the groups training their dogs have fixed times (eg. thursdays from 18:00 to 20:00). So the field is blocked for them. Thus it would be of great help, if it was possible to add recurring bookings. I think that's not an easy thing to implement.

You're right, it isn't. I'm sorry, but I am not planning to add this feature to "Bookings", as it would be too expensive. I have another module I am working on, called "Reservations", which will have this feature. But it's not available yet. So, at the moment, you can only add a WYSIWYG section with some text mentioning the blocked times. (Or something like that.)
Logged
geasy

Offline Offline

Posts: 31


« Reply #297 on: November 30, 2009, 02:59:09 PM »

Many thanks for your help!

I'm looking forward to your reservation module....

Claudio
Logged
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1680



« Reply #298 on: November 30, 2009, 04:02:26 PM »

I didnt use this module so far, but just wanted to commend this modules development..as I a see every few days or weeks new version appears Smiley

they say: live long and prosper -> Bookings Smiley

All best
I.
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
WebBird
Guest
« Reply #299 on: November 30, 2009, 04:24:01 PM »

Well, every time a bug is fixed or a new feature is added, a new version is released. Next version will include italian language (if provided) and a fix for saving groups from frontend. grin
Logged
Pages: 1 ... 10 11 [12] 13 14 ... 16   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!