Page 1 of 1

FEUsers

Posted: Tue Mar 21, 2017 9:27 am
by dondion
Hi,

Im trying to achieve a possibility to upload different files for frontend users. The admin user should be able to upload files per customer.

- FrontendUsers can login and view their files after login: .jpg .png .pdf etc.
- Files are uploaded per customer
- FEUsers can only view his files and not edit them

As so far i could see, you can add a content property with image. But this only loads <img src="file-url"> so the output will never be an url.
The output is now like this:
http://domain.com/uploads/_feusers/30664cbba43e69384c77d6baf3a17aaf.pdf

My CMSMS version is 2.1.5

Is there a way to achieve this or is there any place i could change <im src= to <a href=?

Its very important for the customer that .pdf is possible to upload. Ive enebled .pdf in the upload settings.

I hope someone can help.
Regards, dondion

Re: FEUsers

Posted: Tue Mar 21, 2017 10:49 am
by dondion
For the time being, i have fixed this for myself by a quick and dirty solution.
I have edited action.changesettings.php by adding a class to the <img src. After some css i've managed to achieve what i wanted.

Its not good for any updates of this module, but as i said, for the time being i can continue with my work now.