Jump to content

Datetime Format + DatePicker


TorLan
 Share

Recommended Posts

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.

Link to comment
Share on other sites

  • 3 weeks later...
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!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...