We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6726
    • 7,075 Posts
    And I confirm it works with TV too, check this post. You just need to use a timestamp widget for it to work.

    There are some interresting custom modifiers, this one might be of interrest to you : http://wiki.modxcms.com/index.php/PHx/CustomModifiers#phx:timesince
      .: COO - Commerce Guys - Community Driven Innovation :.


      MODx est l'outil id
      • 21800
      • 174 Posts
      you together are great and modx is.
      Now it works. Thanx a lot.

      in the marvellous PHx snippet I even found the "if" feature to suppress EndTime output if not given - simply fantastic

      A little allthough: the date is shown correctly by german names (in my case) but Umlaute are not correct (M�rz.)
      I modified this line in the phx.parser.class.inc.php:
      case "date": $output = iconv(’ISO-8859-1’, ’UTF-8’,strftime($modifier_value[$i],0+$output)); break;
      it works.

      Only still one thing: for me the thing gives out no minutes (%i). It therefore outputs "%i". It does not seem to be the ":" before the %i.
      SOLVED whatever reason it should be %M.

      And it does not show up in a template with the appopriate content.
      SOLVED (it could not) I use a Ditto call for a single page
      that’s it