We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27376
    • 576 Posts
    I am coding a module for creating custom pages (job openings, if you must know), and I’m making a publish and un-publish date selection box for the job input. I used renderFormElement (in manager/includes/tmplvars.inc.php) to generate the input box and it displays correctly, but when I click the calendar icon to select a date, nothing opens up, is there something I’m missing?
    $value = renderFormElement('date', 'publish_date', 0, '', '');
    Problem: Form displays correctly, but nothing happens when I click the calendar icon.
      • 32982
      • 674 Posts
      i think you need to include the js for show the popup
        Jabiertxof (formerly XYZVISUAL)
        My bussines: http://marker.es
        https://www.youtube.com/user/jabiertxof/videos
        • 27376
        • 576 Posts
        After my first reply I tried including the script ’manager/media/script/datefunctions.js’ and that made the calendar window show up finally, but now when I select a date, nothing updates sad

        Does anyone know how to get the the calendar to work fully (using renderFormElement(’date’, ...); )?
          • 32982
          • 674 Posts
          i never use this api Any sugestions?
            Jabiertxof (formerly XYZVISUAL)
            My bussines: http://marker.es
            https://www.youtube.com/user/jabiertxof/videos