We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4429
    • 429 Posts
    Any idea how this actually works and the events/bookings are created?

    I have seen a list of parameters but no instructions at least in English anyway.

    I’m looking use something for a small guest house to list bookings.

    Also the example websites - links- for this don’t appear to be working.
      • 4172
      • 5,888 Posts
      Hi c-m:

      sorry, the demo-link is broken. I haven’t it anymore online.
      xett is something like a framework, with which you can create projects and different tasks for each project. You have all project/task files (getdatas.php and template-files) in a folder of your filesystem. The events or bookings or what else can be documents or datas in custom-tables.

      these are examples which are done with xett.
      http://www.sylt-watthaus.de/fewo-freie-termine.html
      http://www.radio-lop.de/sendeplan.html

      Listing and editing can be done directly from links out of the calendar.

      The next generation of xett is named ’blox’, which is basically the same, but can work together with Xedit for ajax-based frontend-editing and all used template files can also be modx-chunks.

      example with blox is here:
      http://bruno.tattoocms.de/64.html
      If you are interested on Testing it, how it works I can pm you an login to my Xedit-Testpage






        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 4429
        • 429 Posts
        when I click on Belegplan, create or edit I get the following error:

        « MODx Parse Error »
        MODx encountered the following error while attempting to parse the requested resource:
        « Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and Time <= '975542400' and Timeend >= '943920000' order by Time limit 1' at line 1 »
              SQL: select * from `stluciatest`.`modx_belegplan` where room_ID= and Time <= '975542400' and Timeend >= '943920000' order by Time limit 1
              [Copy SQL to ClipBoard]
         
        Parser timing
          MySQL: 	0.0064 s	(4 Requests)
          PHP: 	0.2509 s	 
          Total: 	0.2573 s	 

          • 4172
          • 5,888 Posts
          You do not call this pages directly. When you click a link in the calendar on page belegplan this pages are called for creating or modifing bookings
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 4429
            • 429 Posts
            Ah ok.

            To make a booking I visit the page called fewo (apartment). From here i can click on the calendar and fill out a booking form.

            Now if i click on belegplan, I cannot see this booking. Also I cannot click on any of the belegplan calendar days. Should these be links?
              • 4172
              • 5,888 Posts
              you can make bookings on calendars of each room or on the overview-calendar on belegplan.

              there should be listet all rooms which you have under fewos.
              Did you fill the doc-ids?:

              in the file assets/snippets/xett/projectfiles/fewo/configs/config/config.php set the document_ids:

              $docids[’maketime’]=’ID of Create’;
              $docids[’rooms’]=’ID of Fewos’;
              $docids[’edittime’]=’ID of Edit’;

              did you create the custom-table belegplan?
                -------------------------------

                you can buy me a beer, if you like MIGX

                http://webcmsolutions.de/migx.html

                Thanks!
                • 4172
                • 5,888 Posts
                OK, have just uploaded my latest version of xett before blox comes out.
                in this included example there are booking-begin and booking-end always half days now.
                there is now also a cache-system for different month-views for example included.
                  -------------------------------

                  you can buy me a beer, if you like MIGX

                  http://webcmsolutions.de/migx.html

                  Thanks!
                  • 4429
                  • 429 Posts
                  Quote from: c-m at Oct 29, 2009, 02:54 PM

                  Ah ok.

                  To make a booking I visit the page called fewo (apartment). From here i can click on the calendar and fill out a booking form.

                  Now if i click on belegplan, I cannot see this booking. Also I cannot click on any of the belegplan calendar days. Should these be links?

                  I only have one room as its a the whole apartment I am letting.

                  I did fill in the doc ids but I only used the id number i.e 7 instead of [~7~]
                    • 4172
                    • 5,888 Posts
                    ok, you have only one apartment.

                    your tree-structure looks like that?

                    Fewos(7)
                    --myapartment

                    then you need
                    $docids['rooms']='7';


                    I did not use the single calendar last times, but if you have only one appartment, I think you do not need the overview-calendar for all apartments.
                    I did all my bookinks from there. I think, I must have a look to this single calendar, if it is still working, but I think it does.



                      -------------------------------

                      you can buy me a beer, if you like MIGX

                      http://webcmsolutions.de/migx.html

                      Thanks!
                      • 4172
                      • 5,888 Posts
                      Did a quick install here, looks like its working. The only thing I saw, I cannot edit bookings on the single calender and I had not implemented halve days on booking-Start and booking-end. This must be done, if you want to use this single calendar. Or you can try it with the long overview-calender, but only with one apartment.

                      Done and uploaded on first post xett.0.5.zip. See also this demo:

                      http://www.webcmsolutions.de/index.php?id=3

                      http://www.webcmsolutions.de/index.php?id=6
                        -------------------------------

                        you can buy me a beer, if you like MIGX

                        http://webcmsolutions.de/migx.html

                        Thanks!