Article page becomes disordered

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Yueyue Qin's picture

Hi all,

Currently I am working on build drupal site...... It looks fine in the front page.

But when I click to this page ....... The outlook of this page becomes totally mess.

I don't know why this happens. I am really frustrated. Is there anyone encountering similar problem? Hope any of you could give me some suggestions.

Thank you very much,
Yueyue

Comments

Menu Callback

mikeytown2's picture

Your menu callback isn't returning correctly. This page looks correct http://convention.amchina.org/filter/tips

How can I fix it

Yueyue Qin's picture

Thank you for you reply. I am very new to Drupal only about 3 months. So can you give me some suggestion about how to fix it? Thank you very much.

How can I fix it

Yueyue Qin's picture

Thank you for you reply. I am very new to Drupal only about 3 months. So can you give me some suggestion about how to fix it? Thank you very much.

abeyer's picture

It looks like you might be printing your page content in the menu callback, rather than returning it.

If you do that, drupal_render_page never gets called, and you won't get any of the theming happening. (actually you probably won't even get valid html...but browsers are pretty forgiving and will try to make something out of it.)

Thank you for your reply! It

Yueyue Qin's picture

Thank you for your reply! It does give a direction to him. Could you point out to me which file I should check out with and make some edition?

Agreed

jeremyrperry's picture

This is likely the cause of the problem. I've seen it before when working with Drupal themes.

IRC

jdwalling's picture

To get a discussion going with someone,
invite them to the #drupal-seattle IRC on Freenode.net

You can use IRC webchat with your browser
http://webchat.freenode.net/?channels=drupal-seattle&uio=d4

or you can get an IRC plugin for you browser
like ChatZilla for Firefox
irc://irc.freenode.net/drupal-seattle (sometimes active)
irc://irc.freenode.net/drupal-support (always active)

or get a stand alone IRC client
like Colloquy for Mac

More IRC resources here
https://www.drupal.org/irc/

Thank you! I will try!

Yueyue Qin's picture

Thank you! I will try!

Slack

WarrenK's picture

In addition to IRC there is also a Slack group for SEADUG. Send me a message if you would like access.

CKeditor causes the prolem

Yueyue Qin's picture

Hi all,

It seems like Ckeditor cause the problem. Once I removed it, my website page works greatly. But if I installed it back again, my page becomes disordered again. This looks very weird to me. Is anyone encountering similar situation since Ckeditor is a useful module I don't want remove it?

Path to CKEditor

jdwalling's picture

What is the directory path to CKEditor?

The CKEditor is under this

Yueyue Qin's picture

The CKEditor is under this directonry: public_html/convention/sites/all/modules

Something like this?

jdwalling's picture

Note the ../ckeditor/ckeditor/.. layout

public_html/convention/sites/all/modules/ckeditor/   <dir>
      ckeditor.css
      ckeditor.info
      ...
      ckeditor        <dir>
         _source      <dir>
         images       <dir>
         lang           <dir>
         plugins      <dir>
         skins         <dir>
         themes     <dir>
         ckeditor.js

It looks like CKeditor may not be using the correct path.

Sometimes when you use a directory under public_html/ for Drupal root you have to make an adustment in .htaccess

I'm just spitballing based on my experiences with CKEditor

.htaccess

Yueyue Qin's picture

I think .htaccess might one factor to cause the problem. I played with it before.I will continue to try to troubleshooting with your reminder.

CKEditor Troubleshooting guide

dreambubbler's picture

I remember once upon a time that the module required a specific version of CKeditor. Be sure to download a compatible version. Read the module documentation for specifics.

Seattle

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week