Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get a page's last modification date?
#5
first of, you should detect the 'full path' of your xml file. You can do it with pwd command on ssh console from directory where the file is located.

Or you can do it with php from your template.php file:

Code:
<?php echo __DIR__; ?>

you get something like this: /var/bla-bla/foo/theme/Innovation

so you can extend it with the relative path to your xml file: /var/bla-bla/foo/data/pages/important.xml
Reply


Messages In This Thread
RE: How to get a page's last modification date? - by Bigin - 2017-05-11, 00:29:54



Users browsing this thread: 2 Guest(s)