×

Notice

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

TOPIC: text overflow for pop-up balloon

text overflow for pop-up balloon 11 years 5 months ago #18710

  • Tabitha Gallman
  • Tabitha Gallman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Most all of my hotspots have lengthy descriptions and the text amount is much more than the height of the pop-up balloon. Is there a way to allow text overflow for the pop-up balloons, or what is the best way to handle lengthy text descriptions?

text overflow for pop-up balloon 11 years 5 months ago #18724

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Tabitha,
Unfortunately, right now there isn't a lot that you could do. The size of the infowindow is automatically determined by the google api. They take a lot of factors when they calculate it, but the most important is the size of your map. Since your map is very small, the info window is also very small. If you go in fullscreen - the infowindow is bigger, but again the content is more.

You could try to modify media/com_hotspots/js/modules/hotspot.js line 277:
style:'width: 300px;visibility:hidden',
you can change the width to something bigger. But again -> google maps takes the width of the map -> you can't have an infowindow that is bigger than the width and height of the map - 100px from each side I think.

The only thing that I can recommend right now is -> make shorter intro text.

Kind regards,
Daniel

text overflow for pop-up balloon 11 years 5 months ago #18733

  • Tabitha Gallman
  • Tabitha Gallman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Ok, thank you Daniel. Can I link to my article that has the full text by going under "Marker Custom Options" and choose "link to articles"?
I did this and entered my article ID number, but the hotspot isn't taking me to the article.

Thanks again.

text overflow for pop-up balloon 11 years 5 months ago #18735

  • Tabitha Gallman
  • Tabitha Gallman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Sorry Daniel. Don't know why I didn't just make a link within the hotspot description to the full article. This works.

All is good :)

text overflow for pop-up balloon 11 years 5 months ago #18737

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Morning! Well, when you provide an ID to an article the read more should be pointing to that article, isn't it?
Daniel

text overflow for pop-up balloon 11 years 5 months ago #18740

  • Tabitha Gallman
  • Tabitha Gallman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
(hope I haven't posted this twice)

Good morning Daniel. I think I'm making this more difficult than it is. I have added a read more button within the hotspot description and added my article ID under the marker custom options, but I don't see the read more button showing up. Not sure what I'm doing wrong.




lol, and to think I have to add about 300 more hotspots, whew!

still loving your extension :)

text overflow for pop-up balloon 11 years 5 months ago #18741

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Look at the HOtspots settings -> there was an option to disable the read_more button :)

text overflow for pop-up balloon 11 years 5 months ago #18743

  • Tabitha Gallman
  • Tabitha Gallman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Thanks once again Daniel. I didn't find the option for the read more button under the hotspot settings, but did find it under the article manager under the "Integration" tab (just in case someone else is looking).
Thank you, thank you, thank you....now I can move on to other things.

text overflow for pop-up balloon 11 years 5 months ago #18744

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Tabitha,
I don't know what you mean with "Integration" tab as Hotspots doesn't have an integration tab.
I just had a look and the setting that I'm talking about is called "Marker detailpage" and it is in hotspots basic settings tab.
Regards,
Daniel

text overflow for pop-up balloon 11 years 5 months ago #18755

  • Tabitha Gallman
  • Tabitha Gallman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
You know what? I just now found that option you are talking about (Marker Detail Page) and it is currently set to "yes", so I'm betting at some point I changed it to "yes", so lol, I'm assuming now that is the reason the "Read More" link is now showing. The "integration" tab is under the article manager options in the backend, so I guess I didn't test the results after I made each change (I probably should have check the results after changing each individual option instead of making several changes, then checking the results, lol)

At any rate, I'm happy it's working :)

(I wouldn't make a good programmer/developer as patience is not one of my best virtues, lol)

Thanks Daniel!

BTW, I do have a question about another topic (custom icons) which I will post as a new thread.
  • Page:
  • 1
Time to create page: 0.145 seconds