×

Notice

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

TOPIC: iFrame

iFrame 10 years 8 months ago #21892

  • Faris M Hayek
  • Faris M Hayek's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Hi.

I am struggling to load one category in the iframe. I created a hidden menu, load it into a module. The problem is the whole website loads. Not just hotspots.

Any suggestions?

iFrame 10 years 8 months ago #21909

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
add &tmpl=component to the template.

Regards,
Daniel

iFrame 10 years 8 months ago #21911

  • Faris M Hayek
  • Faris M Hayek's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0

iFrame 10 years 8 months ago #21913

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
In each joomla template there is a component.php file. When you add ?tmpl=component to the url joomla loads this file instead of index.php . In your case the component.php seems not to be really correct.

Switch to a standard joomla template such as beez for example and you'll see that when you load this url it will load the css and js. In your template the only thing loaded is html which cannot work.

Regards,
Daniel

iFrame 9 years 3 months ago #29250

  • Craig Luecke
  • Craig Luecke's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 30
  • Thank you received: 0
Here is what I did regarding the template issue.

There is a BLANK template available for free. You can download it here: blank.vc/

1. Create a hidden menu item of the Hotspots component noting the menu item ID
2. Assign the blank template to the menu item
3. Using NoNumber's Component Anywhere plugin, add to a module {component index.php?tmpl=component&Itemid=###&option=com_hotspots&view=hotspots} with ### being the menu item ID
4. Place that module anywhere you want and your map will display with full functionality. You can customize your map using overrides under OPTIONS when you created the menu item for the map.
  • Page:
  • 1
Time to create page: 0.186 seconds