From 9d26a6b659adc6420ce76fef9d903a5206e2d915 Mon Sep 17 00:00:00 2001 From: Yuri Salimovskiy Date: Sun, 22 Feb 2026 08:35:25 +0200 Subject: [PATCH] Added template variables for user who uploaded or modifed to a file field --- docs/fieldtypes/file.md | 60 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/docs/fieldtypes/file.md b/docs/fieldtypes/file.md index b1a73563..506f81df 100755 --- a/docs/fieldtypes/file.md +++ b/docs/fieldtypes/file.md @@ -187,6 +187,36 @@ One powerful use of the modified_date is 'cache busting', forcing browers to use {/image} +### `{modified_by_member_id}` + + {modified_by_member_id} + +ID of member who last modified the file + +### `{modified_by_username}` + + {modified_by_username} + +Username of member who last modified the file + +### `{modified_by_screen_name}` + + {modified_by_screen_name} + +Screen name of member who last modified the file + +### `{modified_by_email}` + + {modified_by_email} + +Email address of member who last modified the file + +### `{modified_by_avatar_filename}` + + + +Avatar of member who last modified the file + ### `{path}` The URL to the folder containing the file, including a trailing slash. @@ -201,6 +231,36 @@ The title assigned to the file. The date the file was first uploaded. See [Date Variable Formatting](templates/date-variable-formatting.md) for more information. +### `{uploaded_by_member_id}` + + {uploaded_by_member_id} + +ID of member who uploaded the file originally + +### `{uploaded_by_username}` + + {uploaded_by_username} + +Username of member who uploaded the file originally + +### `{uploaded_by_screen_name}` + + {uploaded_by_screen_name} + +Screen name of member who uploaded the file originally + +### `{uploaded_by_email}` + + {uploaded_by_email} + +Email address of member who uploaded the file originally + +### `{uploaded_by_avatar_filename}` + + + +Avatar of member who uploaded the file originally + ### `{url}` The full URL to the file.