We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29774
    • 386 Posts
    That would seem to indicate that the file does exist. I think it may have something to do with the lack of a leading / to the filepath (although the snippet is meant to be checking for this intelligently). Try adding in the /

    [!FileDetails? &file=`/[+myfiletv+]` &tpl=`FileDetailsRow_tpl`!]
      Snippets: GoogleMap | FileDetails | Related Plugin: SSL
      • 5515
      • 4 Posts
      Mark,

      That worked on getting me the file details but the [+filetitle+] and [+filesummary+] are still not showing up, I looked at the filedetails.inc.php code and didn’t see how $filetitle, $filesummary variables are being retrieved for this file usage method. It looks like they are only being initialized in the Archive mode. If this is correct, I would have to make modifications to the code to do what I wanted to do -- is this right?

      Sorry for being a pest on this, but this snippet is the best solution for my needs and I’m not much of a coder.

      Thanks again,
      Dave
        • 29774
        • 386 Posts
        Hi Dave

        yes they aren’t available when using Filedetails inside Ditto - but that’s because you don’t need it in this context - simply use [*pagetitle*] and *[introtext*] (or any of the other built in fields) in your Ditto template smiley

        Cheers

        Mark
          Snippets: GoogleMap | FileDetails | Related Plugin: SSL