We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28215
    • 4,149 Posts
    This is an auto-generated topic for FileLister 1.0.0-pl by splittingred.

    Brief Description:

    A file-listing snippet for MODx Revolution.

    • Added homePathName property to filelister snippet for hiding the root path
    • Salted-hash, secure directory browsing
    • Path mapping
    • Secure downloading/viewing of files to logged-in users, usergroups
    • Fully templatable output
    • Various sorting modes
    • File extension restricting

    New in 1.0.0-pl

    • Added download counts for files

    See the Official Documentation here:
    <a title="Official FileLister Documentation" href="http://svn.modxcms.com/docs/display/ADDON/FileLister]http://svn.modxcms.com/docs/display/ADDON/FileLister[/url]
      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
      • 36926
      • 701 Posts
      Quote from: splittingred at Aug 03, 2010, 08:50 AM

      This is an auto-generated topic for FileLister 1.0.0-pl by splittingred.

      Brief Description:

      A file-listing snippet for MODx Revolution.

      • Added homePathName property to filelister snippet for hiding the root path
      • Salted-hash, secure directory browsing
      • Path mapping
      • Secure downloading/viewing of files to logged-in users, usergroups
      • Fully templatable output
      • Various sorting modes
      • File extension restricting

      New in 1.0.0-pl

      • Added download counts for files

      See the Official Documentation here:
      <a title="Official FileLister Documentation" href="http://svn.modxcms.com/docs/display/ADDON/FileLister]http://svn.modxcms.com/docs/display/ADDON/FileLister[/url]

      Hi,

      I’m having a few issues actually displaying a usable link to some pdfs.

      I have the following:
      for the call
      [[!FileLister? &path=`assets/docs/9` &fileLinkTpl=`fileLink.Tpl` &fileTpl=`file.Tpl`]] 


      For the fileLinkTpl
      <a href="[[+url]]">This is the file: [[+filename]]</a>  
      



      For the fileTpl
      [[+link]]<br />
      


      On the page the docs list fine, but the url to the documents look like:
      www.mydomain.com/index.php?id=9&fd=%25F7X%25C1%2595%25A2%25A8%25B5%25F6w%25AA%259Bu%2514sL%253C%25EC%251F%25AAZ%252Bq%2527%25F4%25C0V8%2527y%2501%253C%2514.%252A%25C3U%25C1bt%253A%25CE%253E6%25CC%258E%25FB3nM%2590%25B0%25C4%25C9%25F6%25C0%25EA-%25A0%259A%258C%253C%25D4%2502%25E7%252F%259BL
      


      Which doesn’t do a thing.

      Where am i going wrong.

      Thanks

      Ben
        • 36926
        • 701 Posts
        Quote from: bennyb at Sep 27, 2010, 05:45 PM


        [[!FileLister? &path=`assets/docs/9` &fileLinkTpl=`fileLink.Tpl` &fileTpl=`file.Tpl`]] 


        Fixed, I’d left of the trailing / from the path. So it should of been:
        &path=`assets/docs/9/`

        Not:
        &path=`assets/docs/9`