%%imagelink%% using wrong base URL 10 years 4 months ago #1

  • Mychol Scully
  • Localtime: 11:18
  • Europe/Bucharest
  • Posts: 9
The link provided in the "Image approved..." message is incorrect. It refers to the development URL, where the Joomla site is a subdirectory of the development server URL, rather than the presenting the production URL, which is the domain name of our project.

Where in the hotornot code is this imagelink variable set?
The administrator has disabled public write access.

Re: %%imagelink%% using wrong base URL 10 years 4 months ago #2

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 11:18
  • Europe/Bucharest
  • Posts: 4848
Hello!

The %%imagelink%% is set in 2 places:

- [Joomla dir]/administrator/components/com_hotornot/modes/image.php (line 400)
- [Joomla dir]/components/com_hotornot/models/comment.php (line 102)
thePHPfactory Customer Support
The administrator has disabled public write access.