This topic is locked
[SOLVED]

 Rich Text Editor(S)

1/22/2013 5:42:42 PM
PHPRunner General questions
A
Andrew S author

Hi everyone. I have a problem when using the Rich Text Editor facility on a project. The issue is when displaying the record (I have created my own Invoice and details for the invoice are entered using Text Area - (I have tried all 3 Text Editors to see if any particular one was causing the problem).
Issues I am experiencing are:

  1. By default, alignment is centered - I want it left aligned - cannot find where to change default to left aligned
  2. Using Bullet points (Unordered List), these also get center aligned and not indented and left aligned
  3. Viewing the completed article displays differently in Firefox and IE8
    I have found that my project performs 100 percent better in Firefox so if I can at least get things correctly displayed in Firefox, I will be happy.
    I have attached 2 screen shots. One is how it looks when entering the information the other how it looks when viewed using Firefox.
    Entering Details

  4. As viewed in Firefox



  5. and this is how the same thing views in IE8



  6. I would be very grateful for any advice.
    Thank you



Sergey Kornilov admin 1/23/2013

Andrew,
I would ask you to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. We'll see what can be done here.

A
Andrew S author 1/23/2013

Sergey, I believe my support has expired (17th January) am I still able to post in demo area? When I said I have tried all three editors, they all produce the same result i.e. not displaying correctly and displaying differently in IE and Firefox.
Andrew

A
Andrew S author 1/23/2013

Have uploaded to demo site and raised a ticket in the hope that you look at this issue as it may well be a bug with the software rather than something I am doing incorrectly!

J
John 1/24/2013

For the indent bullet problem try the following:
the default css rules for lists set padding equal to 0.To format your lists properly open your \PHPRunner6.2\styles\default.css find the line:- - -body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td {margin:0; padding:0;}- - -and replace it with the following:- - -body,div,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td {margin:0; padding:0;}ul,ol,li {margin:0;}- - -Save changes and make a full rebuild.

John

A
Andrew S author 1/25/2013

Thanks John. I will give that a try later on today and post back outcome.

Andrew

A
Andrew S author 1/25/2013

Many thanks to John and support. The issue is now resolved totally as follows (note bold portion is my field name):
to align value on the printer-friendly page proceed to the Visual Editor screen, switch to HTML mode, find this code:

--------------------

<TD style="WIDTH: 65%; WHITE-SPACE: normal;"><FONT size=3

face="Times New Roman">

<P align=left >{$workorder_value}</P>

<P></P></FONT></TD>

--------------------

and replace it with this one:

--------------------

<TD style="WIDTH: 65%; WHITE-SPACE: normal; text-align: left;"><FONT size=3

face="Times New Roman">

<P align=left >{$workorder_value}</P>

<P></P></FONT></TD>

--------------------

Then open PHPRunner6.2\styles\default.css file, find this line:

--------------------

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td {margin:0; padding:0;}

--------------------

and replace it with this one:

--------------------

body,div,dl,dt,dd,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td {margin:0; padding:0;}

--------------------
Make a full rebuild.
Thanks for assistance.