Zen Cart Logo
Forums / Bug Reports / [not a bug] define_pages_editor.php and ez_pages.php

[not a bug] define_pages_editor.php and ez_pages.php

Locked

Views: 2,030

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
9 Sep 2006, 2:04 PM
#1
jeffd avatar

jeffd

Totally Zenned

Join Date:
Sep 2004
Posts:
605
Plugin Contributions:
1

[not a bug] define_pages_editor.php and ez_pages.php

Both of these files are missing a "// -->" at the end of the init() javascript which oddly enough just displays a blank page when using I.E. however Firefox does not seem to have this problem.

If you search for: ```
if (typeof _editor_url == "string") HTMLArea.replaceAll();
}


and right after the closing brace add:```
// -->

it corrects the problems when using I.E. to edit pages.

Jeff

9 Sep 2006, 2:31 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [not a bug] define_pages_editor.php and ez_pages.php

I am not reproducing a problem ...

I have HTMLarea turned on ...

I use the EZ-Pages editor or the Define Page Editor and both appear to work ... in IE and FireFox ...

What version of Zen Cart?

Clean install or upgrade?

What exact version of IE are you using?

What Operating System?

13 Sep 2006, 4:31 PM
#3
jeffd avatar

jeffd

Totally Zenned

Join Date:
Sep 2004
Posts:
605
Plugin Contributions:
1

Re: [not a bug] define_pages_editor.php and ez_pages.php

Linda,

This was totally my fault... when I merged changes with WinMerge for some reason it forgot to copy the lines in both files with the closing comment. I was looking at the merged site code from an airport via VNC and should have waited and looked that the original archive files before posting this as a bug, sorry!

Jeff

19 Sep 2006, 4:51 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [not a bug] define_pages_editor.php and ez_pages.php

Thanks for the update ... the lines all start to blur together sometimes ... :lamo: