We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40122
    • 330 Posts
    Hi all,

    I am having a strange issue where the pub_date place holder works in a Ditto template, eg:

    [+pub_date:date=`%B %d, %Y`+]


    But not in my resource template, eg:

    [*pub_date:date=`%B %d, %Y`*]


    [*pub_date*] works, but I just cant format it.

    Can anyone tell me what Im doing wrong?

    Im using Evo 1.0.4.

    Many thanks!
      • 36416
      • 589 Posts
      Quote from: meltingdog at Oct 12, 2014, 07:53 PM
      Can anyone tell me what Im doing wrong?

      Do you have PHx plugin globally installed?
        • 40122
        • 330 Posts
        Quote from: danilocuculic at Oct 13, 2014, 01:42 AM
        Quote from: meltingdog at Oct 12, 2014, 07:53 PM
        Can anyone tell me what Im doing wrong?

        Do you have PHx plugin globally installed?

        No idea sorry. What is it?
          • 36416
          • 589 Posts
          Quote from: meltingdog at Oct 13, 2014, 06:15 PM
          Quote from: danilocuculic at Oct 13, 2014, 01:42 AM
          Quote from: meltingdog at Oct 12, 2014, 07:53 PM
          Can anyone tell me what Im doing wrong?
          Do you have PHx plugin globally installed?
          No idea sorry. What is it?

          This: http://modx.com/extras/package/phx
          should be installed in Elements/Plugins.