We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4172
    • 5,888 Posts
    Snippetname: [!Xett!]
    Author: Bruno Perner
    Examples:http://www.meine-goldschmiede.de/testmodx/index.php?id=1122

    What can you do with it:
    Create, edit, display calendars, eventlists and other Datas from DB-tables.
    Also you can create booking-Systems for events..... and so on.

    New 02.12.2008 v0.3 beta :
    You are now free to Create Templates, which are nested into each other. Create an array in your projectfile getdatas.php with the key [’innerrows’][’xxxx’]
    then you have placeholders in your Templates [+xett.innerrows.xxxx+] they can all be nested into each other. So you can have in the innerTpls more innerTpls and so on.
    You can create the whole array in the getdatas.php or you can say for example: [’innerrows’][’day’][’getDatasOnRender’] then comes the array for this Template to the placeholder [+xett.innerrows.day+] from the file dayGetdatas.php. Each row is then rendered in the Template dayTpl where you have the placeholders [+xett.row.value+] and so on.

    included

    • special phx-modifiers for date-work
    • adodb-time class for working with historical and future dates
    • some js-scripts
    • the document class for creating documents
    • phx
    • chunkie class for template-creating
    • some documentation
    • example projects
    • Xett-project for easy-events support
    • Xett-project for installing the example-documents

    Todo

    Feel free to test it, modify it and let me know what you think about it.

    Bruno

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

      you can buy me a beer, if you like MIGX

      http://webcmsolutions.de/migx.html

      Thanks!
      • 7231
      • 4,205 Posts
      Wow, this looks very cool.
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 12684
        • 118 Posts
        It definitely has a fantastic list of features, but the css will need some serious work.
          • 4172
          • 5,888 Posts
          feel free and put your hands on it! then let me see your work.
          thanks.
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 4971
            • 964 Posts
            Why does it have the days of the week on top and then the days of the month (number dates) on the left?
            Kind of confusing dont you think?

            There should be different views... day, week, month...
              Website: www.mercologia.com
              MODX Revo Tutorials:  www.modxperience.com

              MODX Professional Partner
              • 4172
              • 5,888 Posts
              in which view are the days of the month on the left?? What you see in the month calendar-view-example on the left are the weeknumbers of the year.
              You can build all views you want. in the example there are day,week,month and total-views. you can modify all views and make your own views in the templates.
                -------------------------------

                you can buy me a beer, if you like MIGX

                http://webcmsolutions.de/migx.html

                Thanks!
                • 7455
                • 2,204 Posts
                would be nice if something like this could be included in the tool so that easy management can be made
                http://www.dhtmlgoodies.com/scripts/dhtmlgoodies-week-planner/dhtmlgoodies-week-planner.html
                just by dragging the mouse to select a time frame

                maybe based on user groups in what level you can add events etc.
                would be great to use something like this for a work roster.

                Dimmy
                  follow me on twitter: @dimmy01
                  • 4172
                  • 5,888 Posts
                  Thanks for the link, Dimmy!
                  would be nice if something like this could be included
                  it would! I want to experiment with this kind of managing the events, if I have the time for it.

                  Bruno
                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                    • 7455
                    • 2,204 Posts
                    Ok looking forward to see that working in this great snippet (maybe convert the admin part to a module?
                      follow me on twitter: @dimmy01
                      • 4172
                      • 5,888 Posts
                      Now with project-files for easy-events-support works together with the easyevents.class for reading documents with date-TVs.
                      Display the Events in each view you want. Create, Edit the Events directly from the calendar or list-view.
                        -------------------------------

                        you can buy me a beer, if you like MIGX

                        http://webcmsolutions.de/migx.html

                        Thanks!