-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hey Vitaly,
I hope you understand English. I do not speak Russian.
I have made a small adjustment to FileAttach Modx and I think it’s a great added value to the tool. Can you please consider in implementing it?
I wanted to transform the tool so that the admin can choose if a file is public or not. So I made an extra checkbox “login”. (see screenshot below, “Aanmelden” is Dutch for login)
When the box is checked there’s a message on the website that only logged in people can see it. (see screenshot below)
In combination with the addon Personalize the admin can check if the document can be showed or not (other ways are also possible of course):
[[!Personalize? &yesChunk=`fileprivate` &noChunk=`filenormal`]]
[[+login:eq=`1`:then=`html-code`]]
The new code: FileAttach-26-12-2020-extra-login-checkbox.zip
Another suggestion would be to ad a date-picker, to show the customer how old the document is (instead of upload date). Now I have used the tag-field for that.


