×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Hotspot picture upload layout

Hotspot picture upload layout 6 years 11 months ago #31691

  • Michel Ollivier
  • Michel Ollivier's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Hi Daniel,

How can I override picture upload layout?

i.e. where is php file which generate image upload in form.php?

Regards
Michel

Hotspot picture upload layout 6 years 11 months ago #31696

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Yes, you can.

The file you need to override is libraries\compojoom\layouts\fileupload\fileupload.php

place your override in html/layouts/compojoom/fileupload/fileupload.php and the system should pick it up.

Regards,
Daniel

Hotspot picture upload layout 6 years 11 months ago #31697

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
wrong path. Should be

your_template/html/layouts/fileupload/fileupload.php

Or
your_template/html/layouts/com_hotspots/fileupload/fileupload.php

This should only apply to the frontend.
Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.118 seconds