Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
Eduardo
Worker
Worker



Joined: Jul 20, 2004
Posts: 189
Location: Italy

PostPosted: Fri Jul 25, 2014 5:43 am Reply with quote

Between the Header Text and Page Text fields the script inserts the following html tags: <br></br>

This creates a spacing not aesthetically appropriate.

I tried to find the file that introduces this space but I did not succeed.

Using Firebug, I have come to see what the included image shows.

Can someone tell me which file I need to change to eliminate <br></br>?



tag.gif
 Description:
Firebug image
 Filesize:  54.14 KB
 Viewed:  9214 Time(s)

tag.gif




Last edited by Eduardo on Sun Jul 27, 2014 8:05 am; edited 1 time in total 
View user's profile Send private message
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1774

PostPosted: Sat Jul 26, 2014 2:57 am Reply with quote

Open modules/Content/index.php and search near line 161:

php Code:
echo '<br /><br />'.PHP_EOL;


Try to uncomment it:

php Code:
# echo '<br /><br />'.PHP_EOL;


That should help...

_________________
Github: RavenNuke  
View user's profile Send private message
Eduardo







PostPosted: Sat Jul 26, 2014 4:16 am Reply with quote

I emptied the cache and I used different browser.
No, it does not work.
That space remains.
 
neralex







PostPosted: Sat Jul 26, 2014 6:11 am Reply with quote

There are more places there you can find <br /><br /> before <div style="text-align: justify;">
Try to remove it step by step and see which is working for you.
 
Eduardo







PostPosted: Sat Jul 26, 2014 6:28 am Reply with quote

OK
 
Eduardo







PostPosted: Sun Jul 27, 2014 1:26 am Reply with quote

I deleted one at a time, <br /> <br /> from the index.php file.
The problem is not solved.
 
neralex







PostPosted: Sun Jul 27, 2014 4:21 am Reply with quote

I found 3 places in the index.php of the content module like this:

php Code:
<div style="text-align: justify;">


On 2 places there are the both <br /><br /> tags before.

In your screenshot you can see that before this started div-container some coldelines have at the end the both <br /><br /> tags. So you must test it step by step which deletion could work for you. If you have only one deleted and isn't working for you, then change it back and go to the next one.

I can't see in your screenshot which fields you have filled with text. Do you mean the space between the page-text and footer-text?
 
Eduardo







PostPosted: Sun Jul 27, 2014 8:02 am Reply with quote

EUREKA!!!!
I found it.
At the end of the line 175, before '. PHP_EOL, must be eliminated the only <br />

Many thanks Neralex
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©