Welcome, Guest
Username: Password: Remember me

TOPIC: Long continuous character string breaks

Long continuous character string breaks 2 years 11 months ago #1

  • geoffc
  • geoffc's Avatar
  • Offline
  • Administrator
  • Posts: 514
  • Thank you received: 25
  • Karma: 8
In the admin location list view when a very long character string is encountered (such as the referer field) it is noted that occasionally this causes distortion of the display.
This is a minor annoyance but is easily resolved by a minor tweak to one line of code.

In the file: administrator/components/com_ipmapping/views/locations/tmpl/default.php change line 176:

Whilst this work fine in some situations in others it failed since it seems to be very dependant upon the way in which the different browsers handle the styles. We have since had to modify our code to surround the cell with a DIV specifiying the style and also a width of 200px as well, which is fine for a fixed layout.

For those interested there is a useful link http://stackoverflow.com/questions/1258416/word-wrap-in-a-html-table.
Last Edit: 8 months 4 days ago by geoffc.
The administrator has disabled public write access.
Time to create page: 0.160 seconds
Go To Top

The Macrotone Consulting Web site would like to use cookies to store information on your computer, to improve our website. Cookies used for the essential operation of the site have already been set. To find out more about the cookies we use and how to delete them, see our Privacy Policy.

I accept cookies from this site.