#1
|
||||
|
||||
Page Editor Glitches
I mentioned this briefly in another thread, but another issue there arose, so I'm reposting it.
I'm having issues with my page editor creating massive spaces, line breaks ans shoving things like tables and forms far down the page. I've taken some screenshots; This is of a page right now; This is what it looks like when I'm editing it; And this is the preview the editor provides; I have some live examples; http://ratties.x10.mx/contact.php http://ratties.x10.mx/sites.php http://ratties.x10.mx/index.php http://ratties.x10.mx/contests.php I can throw a table up if anyone would like to see - the pages that look half decent have been dramatically altered through the editor to get them as normal looking as possible.
__________________
|
#2
|
||||
|
||||
Yep had that problem too, which is why I don't use the editor at all. I'm so sure that helps you tons. LoL
|
#3
|
||||
|
||||
You can disable the editor? Darn, that'd be nice. It's great in theory and for beginners, but I prefer to be given the barebones and work up from there. I can do a ton more with bbcodes.
__________________
|
#4
|
||||
|
||||
I Just edit the php pages and put my content there :/
|
#5
|
||||
|
||||
Well the CKEditor inserts an empty line into the database out of nowhere. You can find the page from table prefix.content and edit out the <p> which is causing problem.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#6
|
||||
|
||||
Sorry for the delay in getting back, issues...
Anyway, I tried looking for an extra <p> in my content table and couldn't find it. Actually, in the content area, it looks (html wise) exactly how I wanted it to appear.
__________________
|
#7
|
||||
|
||||
Well at this point you can fix this by going to phpmyadmin and edit table prefix.content. Remove every instance of <div> and </div> except for the one at the beginning or end of a paragraph. An example is shown here(as you find from table prefix.content:
PHP Code:
PHP Code:
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#8
|
||||
|
||||
Okay, so I did that on the index page and I didn't seem to notice a difference, so I went to check the contest page and edit that thinking perhaps I'd get better results, and here is what it looks like;
Code:
<div style="text-align: center;"> I am your best follower,</div> <div style="text-align: center;"> Constant as the air,</div> <div style="text-align: center;"> Forever lingering near the ground,</div> <div style="text-align: center;"> I will keep at your heels all day long</div> <div style="text-align: center;"> But come the night I vanish,</div> <div style="text-align: center;"> And come the midday sun I hide.</div> <div style="text-align: center;"> </div> <div style="text-align: center;"> What am I?</div> <div style="text-align: center;"> </div> <div style="text-align: center;"> <em>Message Bea the answer and she'll reward you with nibbles and a </em>Standard Amber Bareback Rat.</div> <div style="text-align: center;"> Check back on the first of May for another riddle!</div> <div style="text-align: center;"> </div> <div style="text-align: center;"> <a href="http://ratties.x10.mx/forum/private.php?action=send&uid=1">Click here to answer!</a></div>
__________________
|
#9
|
||||
|
||||
Remove every instance of the following code as below except when you actually want a linebreak.
PHP Code:
PHP Code:
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#10
|
|||
|
|||
I Have figured out what causes the massive spaces, line breaks and shoving things like tables and forms far down the page.
In The File-Manager, Open Whatever php you want to edit. and search for this line PHP Code:
PHP Code:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remove WYSIWYG Editor | Abronsyth | Questions and Supports | 5 | 12-29-2014 06:11 PM |
Help Making Stats Page = Click Page & Lineages? | squiggler | Questions and Supports | 2 | 02-22-2014 04:42 AM |
Adopt Page & Pound Page change? | tahbikat | Questions and Supports | 3 | 02-14-2014 03:19 PM |
PHP in editor? | SilverDragonTears | Questions and Supports | 5 | 05-02-2012 10:43 PM |
What's New? |
What's Hot? |
What's Popular? |