Jump to content


unable to see my page properly in Xhina editor


  • You cannot reply to this topic
2 replies to this topic

#1 Deb

    Likes Etomite Forums!

  • Member
  • PipPip
  • 253 posts

Posted 05 August 2006 - 06:14 PM

Hi,

Got a really strange problem. I have several Eto sites and have not come across this issue with Xhina yet.

When I go to edit a page in the html preview window, my page does not view properly. I don't know how to explain it so I took some screen shots and going to try to get them to show up in my post. Please bear w/me as I've never tried to do this before.

When you first select a page to edit, I get this screen:
Attached File  previewb4edit.jpg   30.16K   97 downloads
and all is fine so far.

Then I click the edit button and I get this screen:
Attached File  previewInEditMode.jpg   25.33K   95 downloads
and that's where the problem is. If you enlarge the examples I've put in this post you will be able to better see what I'm talking about. You can see in the first image that my content background is a light color which is not showing up in the edit screen nor is my page header image showing up.

You shouldn't have to look to closely at why I'm having problems viewing my content - all the blue text sits on a blue background and it's also tight up to the top of the page where the header image is supposed to show up.

At first my header image was set as a background in my css file, so I tried changing it to a image in the table, didn't help.

I tried selecting the BackgroundImage in the Xhina options in the config - not knowing for sure what it does but I thought maybe that would do the trick - no luck. I tried a few other options as well, don't remember what they are but nothing has helped so far.

I've tried different paths to things in the config, that didn't help.

Because of this I pretty much have to use the text version of the editor for all editing as it's so hard to see and this is really slowing me down.

On top of that, I get no css classes showing up in the right side of the edit screen. Now this I *think* may be related to my css file. Things are coded like this:

#Content {
background: #BBC8D0;
border-top: 1px solid #F2F2F2;
border-bottom: 1px solid #E9EDF0;
}

#Content table {
background: #F2F2F2;
border-left: 1px solid #F2F2F2;
border-right: 1px solid #F2F2F2;
margin: 0px auto;
vertical-align: top;
width: 985px;
}

#Content p {
font: 13px Tahoma, Verdana, Arial, Helvetica, sans-serif;
color: #506B7E;
padding-bottom: 7px;
padding-top: 7px;
}
#Content .italics {
font-style: italic;
}
#Content .strong {
font-weight: bold;
font-size: 13px;
}

and it appears as though the Xhina css pane on the right doesn't recognize the #id tag so it won't show me the associated classes. The only classes that show up are the ones not associated w/a #id tag. Soooo, I tried removing the #id tag from the css in a few non-essential places to see if the classes would then show up. That did help to be able to see the classes in the Xhina editor right side, but it didn't help one little bit in being able to view the page properly.

There doesn't seem to be any button in the editor that helps to cure this either.

This *shouldn't* have any bearing on this I wouldn't thing but I am using includes like this:

ob_start();
include('includes/addTopperMain.php');
$output = ob_get_contents();
ob_end_clean();
return $output;

But I've used includes on my other Eto sites as well and don't have this problem.

I don't know where else to look anymore so I came here hoping someone has an answer for me. Thanks so much.

#2 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 05 August 2006 - 07:23 PM

My guess is that when you are viewing the page in the preview panel, as well as directly in your browser, the page displays properly because it is using all of the correct CSS... But when you view it in the editor you may only be utilizing a subset of the CSS and that is what is causing the display differences... I run into this a lot and have simply learned to adjust... That might not be an option in your case, however...

#3 Deb

    Likes Etomite Forums!

  • Member
  • PipPip
  • 253 posts

Posted 06 August 2006 - 01:55 AM

Ok, at least I can quit looking for buttons and other things in Etomite. I'll have to fight w/my css some more I guess. Thanks, Ralph.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users