×

Notice

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

TOPIC: CompojoomGalleria::getData returns full url

CompojoomGalleria::getData returns full url 7 years 7 months ago #35963

  • Jean Machuron
  • Jean Machuron's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 35
  • Karma: 1
  • Thank you received: 0
Hi Daniel

While moving from one url to another we noticed that the line
CompojoomGalleria::getData($itemId, 'com_hotspots.hotspot', false);
seems to return the full url of the server including the domain and protocol

Is there a way to remove it so that we only get the path part ?

thanks
Jean

CompojoomGalleria::getData returns full url 7 years 7 months ago #35964

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Why is that important? The domain is taken from your configuration, so it's not hardcoded.

CompojoomGalleria::getData returns full url 7 years 7 months ago #35965

  • Jean Machuron
  • Jean Machuron's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 35
  • Karma: 1
  • Thank you received: 0
The domain is taken but when the activity is pushed to CB activity, the domain is then hardcoded in the message.
So changing urls or going to dev site screws everything :-)
Best would be to only get the path with scheme or host
  • Page:
  • 1
Time to create page: 0.113 seconds