Results 1 to 5 of 5
  1. #1
    Join Date
    May 2012
    Location
    South Carolina
    Posts
    40
    Plugin Contributions
    0

    Default Define Pages editor adds 4 or 5 blank lines every time I save

    When I use the Define Pages Editor from the Admin, it adds 4 or 5 blank lines to the beginning of my define_main_page.php.

    What causes this? How can I avoid it ??

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Define Pages editor adds 4 or 5 blank lines every time I save

    Are you using the HTML editor, or pasting copy into that page from another program, or ...?

  3. #3
    Join Date
    May 2012
    Location
    South Carolina
    Posts
    40
    Plugin Contributions
    0

    Default Re: Define Pages editor adds 4 or 5 blank lines every time I save

    Quote Originally Posted by stevesh View Post
    Are you using the HTML editor, or pasting copy into that page from another program, or ...?
    I originally pasted copied code from Front Page 2003 into the html editor. Then when I use the Define Pages Editor from the Admin, it adds 4 or 5 blank lines to the beginning.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Define Pages editor adds 4 or 5 blank lines every time I save

    It's never a good idea to paste copy into Zencart from any WYSIWYG editor, especially Front Page and Word. Such programs add a lot of extraneous styling that can conflict with what Zencart is trying to do, and may be the reason for your extra lines.

    Better to paste (or enter) your copy as plain text and style it in the stylesheet, or use the HTML editor in the define pages editor to enter the copy in the first place.

  5. #5
    Join Date
    May 2012
    Location
    South Carolina
    Posts
    40
    Plugin Contributions
    0

    Default Re: Define Pages editor adds 4 or 5 blank lines every time I save

    Quote Originally Posted by stevesh View Post
    ...or use the HTML editor in the define pages editor to enter the copy in the first place.
    I try this, and it never fails, if it's something I wouldn't want to re-type... it times out on me and I lose what I've done.

 

 

Similar Threads

  1. Cant save to define pages editor
    By pageblair in forum General Questions
    Replies: 22
    Last Post: 16 Jun 2014, 10:23 AM
  2. Where do I save an image for define pages editor?
    By lindsey22 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Mar 2010, 11:51 PM
  3. Save button gone in define pages editor
    By Hopeless in forum Basic Configuration
    Replies: 3
    Last Post: 7 Jul 2009, 02:46 PM
  4. Define Pages Editor - can't save my changes
    By BeyondB in forum General Questions
    Replies: 1
    Last Post: 11 Jun 2008, 02:35 AM
  5. Changes in Define Pages Editor Won't Save
    By mattmueller in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 17 Nov 2007, 08:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR