This topic is locked

How to remove the ( ) from source file code.

12/9/2008 1:24:56 PM
PHPRunner General questions
L
Lorenbond author

QUESTION: How to remove the ( ) from the source files code?
I need to remove ( ) from the end of the following code:

{include_if_exists file="include/header.php"} 
I cant seem to locate where ( ) is generated in the source files. Any help?

J
Jane 12/11/2008

Hi,
check C:/Program Files/PHPRunner5.0/templates/layouts/<selected layout>/lheader.htm file.

L
Lorenbond author 12/11/2008

I'm using 4.2(379)
lheader.htm doesent appear to exist in version 4.2(379)

J
Jane 12/12/2008

Hi,
check C:/Program Files/PHPRunner4.2/templates/layouts/<selected layout>/lheader.htm file.

L
Lorenbond author 12/19/2008

Hi,

check C:/Program Files/PHPRunner4.2/templates/layouts/<selected layout>/lheader.htm file.


Can you be a little more explicit. I cant seem to find what creates the "&nbsp;"
Whenever Im using the visual editor the "&nbsp;" appears when switching between the wysiwyg and the html modes and when switching from one form to another.
If I've deleted them once so help me god I've deleted them 10,000 times!
It's driving me #@%$^% BATTY!

J
Jane 12/19/2008

Hi,
I see what you're saying. Unfortunately there is no way to remove &nbsp; in the Visual Editor in the PHPRunner 4.2.

Try to download and install PHPRunner 5.0. We've impoved Visual Editor in the latest PHPRunner 5.0 version.

L
Lorenbond author 1/25/2009

Hi,

I see what you're saying. Unfortunately there is no way to remove &nbsp; in the Visual Editor in the PHPRunner 4.2.

Try to download and install PHPRunner 5.0. We've impoved Visual Editor in the latest PHPRunner 5.0 version.


UPDATE:
Here is a work around (sort of ?)
The problem is a big gap between the header and the begining of the first line on a viewable page.
when you remove the (&nbsp;) from the end of the {include_if_exists file="include/header.php"}

you end up with a smaller gap.
Hmmm but still there is a gap?
The cause of the second gap is the very next line:

<FORM.....><INPUT....> statements
When the above <FORM...><INPUT...> statements are processed they produces a second gap.
As Jane pointed out we cannot remove the (&nbsp;) from the end of the {include_if_exists file="include/header.php"} <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=37110&image=1&table=forumreplies' class='bbc_emoticon' alt=':angry:' />
However I have found that I can remove the second gap caused by the <FORM...><Input...> statements by moving them just inside the first <Table> statement.
example:

<Table........>

<FORM........><INPUT....>

<TBody>
The net result is one nice tidy space (as it should be) provided at the end of the {include_if_exists file="include/header.php"}&nbsp; And that I can live with! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=37110&image=2&table=forumreplies' class='bbc_emoticon' alt=':D' />