This topic is locked
[SOLVED]

 Remove Span Tags

11/13/2010 1:44:00 PM
PHPRunner General questions
G
gavin1211 author

All of my outputted data seems to be encapsulated with a span tag. For example <span id="edit7_Picture_1">astra1.jpg</span>
How do I get rid of these span tags? I have turned off the inline edit and add options but they still appear in the markup.
Please help.
Thanks,

Gavin

Sergey Kornilov admin 11/13/2010

Those tags are required to make inline editing possible.

G
gavin1211 author 11/14/2010

Is there anyway to remove them from the code?
Thanks

G
gavin1211 author 11/14/2010

Solved this, here's what I canged to get rid of the spans.
classes/listpage.php , comment out

//$fName = $this->listFields[$i]['goodFieldName'];

//

// $span = "<span ";

//

// $span.= "id=\"edit".$this->recId."_".$fName."\" ";

//

// $span.= $this->addSpanVal($this->listFields[$i]['fName'], $data);

//

// $span.= ">";

//

// $record[$this->listFields[$i]['valueFieldName']]= $span.$record[$this->listFields[$i]['valueFieldName']]."</span>";