Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

How to set current datetime to the datetime field 09 Oct 2014 06:59 #12685

  • vivek
  • vivek's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 123
  • Thank you received: 2
Hi,
How to set the current datetime to the datetime field?

Also, can you please post a short list of changes that went onto 2.6.5?

Regards
Vivek

Please Log in or Create an account to join the conversation.

How to set current datetime to the datetime field 09 Oct 2014 08:50 #12686

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
You need to define it in the item model in
- loadFormData() : if you want it to be modifiable
- prepareTable() : If you want to set it after the user sent the form (per security)

The description of the last version is here : www.j-cook.pro/index.php/docs/versions/197-2-6-5

Hope it helps
Coding is now a piece of cake
The following user(s) said Thank You: vivek

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.074 seconds

I've evaluated lots of other Joomla Component Dev tools such as Shell Manager (J)enesis Danny's Joomla! 1.5 MVC Component Code Generator Marco's Component Maker and I must admit that I love what I see on your site! Lots of potential... Otherwise Great Job and keep up the good work!!!
Clifton (forum)

Get Started