OS Property support center

Upload multiple documents

  • Dimitris
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago - 9 years 7 months ago #70326 by Dimitris
Upload multiple documents was created by Dimitris
Hello guys.
i use os property 2.0.4.3
in the add property module at the tab 'other information' there is an option to upload documents in doc,docx or pdf format.
but i can only upload one.
how can i upload more than one documents??
i have got a deadline unil tommorow please help me. there is a way to to that?

here is a print screen of what im tellin you
Attachments:
Last edit: 9 years 7 months ago by Dimitris.

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #70342 by Mr. Dam
Replied by Mr. Dam on topic Upload multiple documents
Hi,
Unfortunately, OS Property only allows to upload one document for each property
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Dimitris
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #70392 by Dimitris
Replied by Dimitris on topic Upload multiple documents
OK.
Maybe i can upload a .zip or .rar folder with all the files.
Where can i find the code to change that permission?

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago - 8 years 11 months ago #82446 by Elliott
Replied by Elliott on topic Upload multiple documents
Hello,

Maybe it's coming a bit too late but I was recently ran into the same issue where client requested to be able to upload more than 1 property documents. What I have done was:

1. Add another table and call it #__osrs_properties_docs to hold all the file's data and relationship to the property
2. In #__osrs_properties_docs I added some fields (id, pro_id, file_1, file_2, file_3, file_4, file_5)
3. Edit the file: root/administrator/components/com_osproperty/classes/property.html.php to add file upload and SQL insert/update/delete scripts
4. Edit the file: root/components/com_osproperty/details.html.tpl.php to display the files and make it available to users.
5. Add zip on the fly script to file root/components/com_osproperty/details.html.tpl.php to allow users to download all the attachment as a zip file.

Hope this help.
Last edit: 8 years 11 months ago by Elliott.

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan