Jump to content

How I can parse file version?

Ilya Hoilik

Recommended Posts

\IPS\downloads\File::load( 1 )->file_version

Not working :( This code on my page displays as is:


And this code doesn't display anything :(

{{if \IPS\downloads\File::load( 1 )->file_version}} HTML to display {{endif}}

But file with ID 1 exists. This code also doesn't work:

{{$myversion = \IPS\downloads\File::load(1)->file_version;}}{$myversion}
Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...