PDA

View Full Version : Very, very strange page_display



timeforsmilin
06-26-2005, 09:59 PM
I can't figure this one out. If you look at any page generated by the page editor (Home, Why Auction, Privacy) on the main site http://corporateone.ca/index.php the page extends past the margin by 10px or so, yet on the practice site http://corporateone.ca/or/index.php , it's perfect. Both sites are using the exact same files, and the internal pages have been copied and pasted.

The problem: when page source is viewed on the main site, there is an extra <table class="page_display> and <tr class="page_display">, that is stripped out of the practice site. Both sites are set to use fckeditor, both were saved, and then submitted. I uploaded page_display.inc.php again to both, with no change. What can this be? :confused:

Please help me with this one!
Thanks,
Louis

timeforsmilin
06-26-2005, 10:22 PM
The only difference in the two sites: on the practice site, execute PHP from page editor was turned on, and on the main site it wasn't. These are simple tables, without any PHP code. It's fixed now by switching that to yes. Does that suggest that one should start tables in the editor with <td>, and will the editor allow that?

timeforsmilin
06-27-2005, 02:17 AM
The only difference in the two sites: on the practice site, execute PHP from page editor was turned on, and on the main site it wasn't. These are simple tables, without any PHP code. It's fixed now by switching that to yes. Does that suggest that one should start tables in the editor with <td>, and will the editor allow that?

This was also the cause of the calculator popup working on one site, and not on the other. return had to be set to false if php switch is set to yes.

timeforsmilin
06-27-2005, 10:47 AM
Switching to fckeditor was also the time that the iframe to display the mls link started to work without destroying the page.

timeforsmilin
06-27-2005, 03:44 PM
Now both sites are identical. On the main site, the calculator popup loads a whole page, while the practice site opens just a calculator popup. Main.html, vertical.php, listing.inc.php, and calculators.inc.php are exactly the same, and verified today by new upload. It worked last night, and now doesn't with either browser.

Has anyone got any idea for this? fckeditor is selected, as is enable php code from page editor.

Please and thank you!
Louis

timeforsmilin
06-27-2005, 03:55 PM
I just found the only difference in the two sites by watching the status bar on mouseover. The main site is set to seo friendly, and the practice site is not. Could this conversion be causing this?

How do I rectify it? Getting closer and closer .... :)

timeforsmilin
06-27-2005, 04:14 PM
On the main site, in main.html, I replaced the {url_calculator_link} with
<a href="{baseurl}/index.php?action=calculator&amp;popup=yes", and now it works perfect! return is set to false.