Hi Josh,
Here are the steps to create and have a unique number that can be used for your permalinks:
1. Create a new text field called Date (this can be named whatever you like).
2. Under Field Options, set the Default Value as
<?php echo date("Ymdhs"); ?>
3. In the permalinks.php file, update this line to use the date field value:
$GLOBALS['PERMALINKS']['autopopulate_fromFields'] = array('date'); // the first field in this list with content will be used to create the permalinks. To use multiple fields separate them with spaces
4. Now when you create a new record, the Date field will display the current date, time, seconds like this: 202006180543
5. On save, this value will be used as the permalink.
Give this a try and let me know if you have any questions.
Cheers,
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/