1. Dmitry Markovich
  2. Newbie area
  3. Thursday, 18 December 2014
  4.  Subscribe via email
Mandatory information about my setup:

Have I searched the tickets before posting? yes
Have I searched the forum before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 3.3.6 Stable
PHP version: 5.5.3-1
MySQL version: 5.5.37-0
Hotspots version: Hotspots Professional 4.3.1
Direct link to the page that shows the issue: repaired


Description of my issue:
There is an error in front-end submission (bugfix), if submission do not have any custom fields. This part of the components/com_hotspots/models/hotspot.php prevent form to be submitted (error about unknown variable, or something like this), failed with fatal error.

public function getForm($data = array(), $loadData = true)
{
// Get the form.
$form = $this->loadForm('com_hotspots.marker', 'marker', array('control' => 'jform', 'load_data' => $loadData));

// Make sure that the custom fields are part of the form
/******** ------ THIS IS THE BAD PLACE. I commented to make my own site running, but had to be checked and repaired.

// $customFieldsModel = $this->getInstance('Customfields', 'HotspotsModel');
// $form->load(HotspotsHelperCustomfields::generateFormXML($customFieldsModel->getItems($data['catid'])));
***********/
Responses (1)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now

Last questions

Dowload all Hotspots entries
Hi there, I'm looking for a way to dowload all the Hotspots entries. I've got t...
0 Replies
Posted on Sunday, 06 April 2025
  • #kml
  • #download
Set number of hotspots / user groups
Hi, I'm working with Hotspots for my new website and I love it! After trying ...
0 Replies
Posted on Monday, 31 March 2025
J5 compatibility for Hotspots
Hi guys, Just started to update my old J3x website. Is there J5 compatibility p...
1 Replies
Posted on Monday, 24 February 2025
  • #Hotspots
  • #hotspots Joomla 5
Text size in the comment input form
Hello. How can I increase the font size in the comment input field? For examp...
0 Replies
Posted on Wednesday, 26 February 2025
  • #CComment 6
Problem with enlarged image
Hello. When you click on the image in the comments, it does not appear in the ce...
1 Replies
Posted on Wednesday, 26 February 2025