TorLan Posted February 16, 2017 Posted February 16, 2017 Hello, I am a complete beginner with pw, so sorry about stealing your time ... Well, I dont know how to Show the datetime/Datepicker on my Testwebsite. I created a new field of type Datetime and marked the Date Picker Option "Inline date picker always visible (no time picker)". I added the field in my Basic-page Template and created a new Page with that template. In my backend the datepicker is visible and working. But in the normal view of my test pages there is nothing but the date. (in my Basic_page.php I added: echo $page->datf; ) How do I get this working?? Thank you very much.
kongondo Posted February 16, 2017 Posted February 16, 2017 Welcome to PW and the forums @TorLan. 7 minutes ago, TorLan said: But in the normal view of my test pages there is nothing but the date Yes, that's how it works. It's for outputting a date in the frontend. So, there's is no timepicker in the frontend with this field.
TorLan Posted March 6, 2017 Author Posted March 6, 2017 On 16.02.2017 at 5:52 PM, kongondo said: Welcome to PW and the forums @TorLan. Yes, that's how it works. It's for outputting a date in the frontend. So, there's is no timepicker in the frontend with this field. Ok! Well then. Is there an easy way to integrate that sort of timepicker (like in the Backend) to get a nice Date to work with in my php file? Thanks for you help!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now