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,

Thanks for refreshing my failing memory.

I actually formatted the field output using the following:

<?php echo date("M jS,  Y H:i T", strtotime($upload['createdTime'])) ?>

I'm really glad that you folks are around to bail us out.

Best,

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

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