Article page becomes disordered

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by Yueyue Qin on July 23, 2015 at 11:31pm

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

Posted by mikeytown2 on July 23, 2015 at 11:48pm

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

How can I fix it

Posted by Yueyue Qin on July 24, 2015 at 12:03am

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

Posted by Yueyue Qin on July 24, 2015 at 12:03am

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.

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

Posted by Yueyue Qin on July 24, 2015 at 3:24am

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

Posted by jrperry on July 24, 2015 at 4:48pm

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

IRC

Posted by jdwalling on July 24, 2015 at 12:16am

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!

Posted by Yueyue Qin on July 24, 2015 at 3:31am

Thank you! I will try!

Slack

Posted by WarrenK on July 24, 2015 at 1:20am

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

Posted by Yueyue Qin on July 24, 2015 at 10:07pm

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

Posted by jdwalling on July 24, 2015 at 11:18pm

What is the directory path to CKEditor?

The CKEditor is under this

Posted by Yueyue Qin on July 24, 2015 at 11:24pm

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

Something like this?

Posted by jdwalling on July 24, 2015 at 11:47pm

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

Posted by Yueyue Qin on July 25, 2015 at 10:26pm

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.

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:

AltStyle によって変換されたページ (->オリジナル) /