I have received feedback that it would be a good idea to add a "Last Edited" date to each page so that returning customers will know when amendments have been made.
Has anyone implemented this?
John
Has anyone implemented this?
John
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22%29%20AND%20%3cactinic%3avariable%20name%3d%22IsNotPreviewMode%22%20%2f%3e" > <actinic:block php="true"> $answer = ''; $filename = basename('<actinic:variable name="SectionPageName" encoding="perl" selectable="false" />'); $connect = odbc_connect("ActinicCatalog<actinic:variable name="ECMajorVersion" encoding="perl" selectable="false" />","",""); $query = "SELECT [Date] FROM [FileList] WHERE [sFilename]='" . $filename . "'"; $result = odbc_exec($connect, $query); odbc_fetch_row($result); $answer = odbc_result($result, 1); odbc_close($connect); if ( $answer != '' ) echo "Updated: $answer"; </actinic:block> </actinic:block>
Comment