OS Property support center

Drag upload pictures in 2.7.3

  • filaretos
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 2 months ago - 10 years 2 months ago #59575 by filaretos
Drag upload pictures in 2.7.3 was created by filaretos
Hello,
Sorry i posted this question in pre-sales the first time, please delete it there.
I would like to implement the change you made in 2.7.4 "Drag upload pictures when modifying propety at front-end" in 2.7.3 .
I know what changes to make in propertyedit.php. See image.
Can you tell me which other files i have to modify?
Thank you!
Attachments:
Last edit: 10 years 2 months ago by filaretos.

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

More
10 years 2 months ago #59580 by Mr. Dam
Replied by Mr. Dam on topic Drag upload pictures in 2.7.3
Hi,
You need to uploaded 2 files: upload.php and upload.html.php in folder "classes" too
Thanks
Dam

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

  • filaretos
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 2 months ago #59592 by filaretos
Replied by filaretos on topic Drag upload pictures in 2.7.3
Hello Dam,
I made the changes in propertyedit.php and uploaded the 2 files: upload.php and upload.html.php in folder 'classes'.
Now when i go to front-end edit property and click to drag upload pictures it takes me to this url:
index.php?option=com_osproperty&task=upload_ajaxupload&tmpl=component&id=38 and it's a blank page. Only the name of the site is shown at the top left corner, nothing else.
Is there any other change i need to do to make it work?
Thank you

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

More
10 years 2 months ago #59630 by Mr. Dam
Replied by Mr. Dam on topic Drag upload pictures in 2.7.3
Hi,
Sorry, i forgot to tell you to update file: components > com_osproperty > helpers > helper.php
Thanks
Dam

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

  • filaretos
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 2 months ago #59640 by filaretos
Replied by filaretos on topic Drag upload pictures in 2.7.3
Hello Dam,
Sorry but i cant get it to work.
I also updated helper.php but i still have blank page when i press to upload with drag and drop fuction.

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

More
10 years 2 months ago #59779 by Mr. Dam
Replied by Mr. Dam on topic Drag upload pictures in 2.7.3
Sorry, you need to update file: components > com_osproperty > osproperty.php
There are some language constants you need to translate too
Thank
Dam
The following user(s) said Thank You: filaretos

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

Moderators: Mr. DamNguyen Phu Quan