Welcome, Guest
Username: Password: Remember me

TOPIC: Long continuous character string breaks

Long continuous character string breaks 1 year 8 months ago #1

  • geoffc
  • geoffc's Avatar
  • OFFLINE
  • Administrator
  • Posts: 383
  • Thank you received: 7
  • Karma: 6
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.

Edited by geoffc - 06.12.2012 17:29

Edited by geoffc - 12.01.2013 17:30
Regards
Geoff
Last Edit: 1 year 8 months ago by geoffc.
The administrator has disabled public write access.
Time to create page: 1.509 seconds
Back 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.