We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19889
    • 616 Posts
    Quote from: smashingred at Dec 22, 2007, 09:56 PM

    I assume that you have PHx installed correctly? You might try re-uploading PHX into the /assets/plugins folder. Your call seems to look correct but sometimes when you look at such calls they all look the same.

    Again, I ask is your TV named "tvEventEndDate" or "EventEndDate". For use with PHx you don’t prepend the name in your call with "tv" unless your TV name is actually prepended with "tv".

    All the best,

    Jay

    Hello Jay, yes, my TV variables are called tvEventDate - the purpuse is that it helps me to remember that those are template variables. as to phx, no I don’t have the plugin installed - I thought it is not needed when just using ditto since it is included there or am I wrong?

    thanks again for your help
      • 27708 MODX Staff
      • 2,502 Posts
      mmjaeger,

      It is absolutely fine to have your TVs prepended with "tv" for the purpose of memory. I am not sure if you need PHx installed or not with Ditto. I would assume that it would be a good idea to install PHx . I am not 100% sure but I don’t think that Ditto has all the functionality of PHx. I think if you are going to use advanced PHx functions that you should install it. I also seem to think I read on the Ditto Support pages that it can’t handle nested placeholders.

      The other advantage of installing PHx is that you will be able to use your tvEventEndDate in non Ditto templates such as in a template for one of your event pages.

      Let me know how it works out.

      Jay
        Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub