We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47166
    • 9 Posts
    Hello everybody!

    I am developing an extension for MODX and currently I am busy with the back-end stuff.

    What I actually have is a CMP that displays a set of tabs, where every single tab hosts one or more grids to display data to the user, let him create, edit or delete records.
    So far everything is working fine and as designed.

    But now I come to a point I do not know how to achieve the wanted result.
    What I need is some custom content on one of the tab pages. In my special case a calendar should be shown for the whole year. Every day represented by a single check box.

    Building the calendar via PHP code is not the problem.

    So, the question is, how can I achive a custom CMP tab, that displays the calendar, created by some PHP code?
    And, the subsequent question is: The whole calendar is a form that should be able to be submitted. How can I handle the submit event? Can I just set the form's action to "myform.php" and handle it there? I would really like to use the connector stuff, that comes with MODX for handling the database functionality.

    Thanks in advance,
    Dennis