This topic is locked

View Page Output Code Change

9/8/2010 7:35:01 PM
PHPRunner General questions
G
gavin1211 author

In the page_view.php page output, fields output the following html code:
</span>
Is there a way to strip out the red highlighted parts so just the raw data from the database is shown. i.e just BMW, without the surrounding span tag and id.

A
ann 9/9/2010

Hi,
use PHP function strip_tags().

More information:

http://php.net/manual/en/function.strip-tags.php

G
gavin1211 author 9/9/2010



Hi,
use PHP function strip_tags().

More information:

http://php.net/manual/en/function.strip-tags.php


I don't think it is possible to wrap a template value eg. {$Make_value} in strip_tags and get the output from the database. Is there a way to adjust the source, so get rid of the span tag?

Sergey Kornilov admin 9/9/2010

I'm not seeing this on PHPRunner 5.2 View page. What's your version of PHPRunner and what layout do you use?

G
gavin1211 author 9/9/2010

Sorry, I mean the list page. View page is fine, it's on the list page a span is wrapped around each piece of info which I need to remove. Thanks for helping. I am using the default theme.

Sergey Kornilov admin 9/9/2010

I see what you saying.
You need to turn off inline edit feature - these tags are required to make it work.