Equivalent to the UpdatedDate field for individual uploads?

5 posts by 3 authors in: Forums > CMS Builder
Last Post: March 17, 2015   (RSS)

Hi all,

I’m trying to automatically  list the date and time when a specific upload was uploaded in a both list and detail viewer. 

Is there an equivalent to the record level UpdatedDate field for individual uploads?

Thanks,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By Damon - March 12, 2015

Hi Jerry,

Try this inside the upload foreachloop:

Created date and time: <?php echo $upload['createdTime']; ?>
An example of the output would be this:

Created date and time: 2015-03-12 18:07:19

You also use the showme function to see all the available variables and values in an array like this:

<?php showme($newsRecord['image']); ?>

Hope this helps!

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Hi Damon,

Since the last question was easy, maybe this one will be also...

Is there a way to log failed login attempts?

Hopefully logging the failed username and failed password and IP address?

Thanks,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By Dave - March 17, 2015

Hi Jerry, 

Is there a way to log failed login attempts?

Hopefully logging the failed username and failed password and IP address?

There's nothing built in to do that.  It's perhaps possible with a plugin or some custom code.

At some future point we'd like to add an "audit log" of specific user actions.  

Generally you wouldn't want to log plaintext failed passwords though because then you'd be logging typos that revealed the user's actual password.

What are you trying to achieve specifically? Is it a client request or just curious? 

Dave Edis - Senior Developer
interactivetools.com