Content chopped off

Aug 3, 2011 at 5:27 PM

Is there a limitation to the amount of text being injected? I would put something long in, but it gets chopped off.

Aug 4, 2011 at 4:37 PM

How long is the text you're putting in, and for what kind of use case?  Do you have a sample of the text that you can post (before/after)?

Currently, you're not limited to any specific number of characters in the database or in the form field.

Jan 30, 2012 at 9:54 PM

Experiencing the same issue, content is chopped off. Example

 

<script type="text/javascript">
  //<![CDATA[
 
  function load() {
  if (GBrowserIsCompatible()) {
  var map = new GMap2(document.getElementById("map"));
  map.addControl(new GSmallMapControl());
  map.addControl(new GMapTypeControl());
  map.setCenter(new GLatLng(53.852502, 17.842017), 13);
 
  // Create a base icon for all of our markers that specifies the
  // shadow, icon dimensions, etc.
   
   
   
   
  var baseIcon = new GIcon();
  baseIcon.shadow = "my";
  baseIcon.iconSize = new GSize(40, 30);
  baseIcon.shadowSize = new GSize(40, 30);
  baseIcon.iconAnchor = new GPoint(5, 29);
  baseIcon.infoWindowAnchor = new GPoint(20, 6);
  baseIcon.infoShadowAnchor = new GPoint(20, 6);
 
  // Creates a marker whose info window displays the letter corresponding
  // to the given index.
  function createMarker(point, index) {
  // Create a lettered icon for this point using our icon class
   
  var icon = new GIcon(baseIcon);
  icon.image = "my";
  var marker = new GMarker(point, icon);
 
  GEvent.addListener(marker, "click", function() {
  marker.openInfoWindowHtml("" + index + "");
  });
  return marker;
  }
 
  // Add 10 markers to the map at random locations
  var bounds = map.getBounds();
  var southWest = bounds.getSouthWest();
  var northEast = bounds.getNorthEast();
  var lngSpan = northEast.lng() - southWest.lng();
  var latSpan = northEast.lat() - southWest.lat();
   
  var point = new GLatLng(53.852502, 17.842017);
  var marker = ...
  map.addOverlay(marker);
   
  var point = new GLatLng(54.7008,17.96955);
  var marker = ...
  map.addOverlay(marker);
   
   
  }
  }
 
  //]]>
  </script>
 


Feb 22, 2012 at 4:35 AM

The module definitely does not have any built-in content trimming.  Is the injected content trimmed in the edit view, in the rendered page, or both?

Feb 22, 2012 at 4:36 AM

One more question... Which version of this module are you using, and on which version of DNN?

Feb 22, 2012 at 5:04 AM

Never mind...  I just found where the bug is.  I will have a new release soon.