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
Your menu callback isn't returning correctly. This page looks correct http://convention.amchina.org/filter/tips
How can I fix it
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
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.
return your page content from the callback, don't print it
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
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
This is likely the cause of the problem. I've seen it before when working with Drupal themes.
IRC
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!
Thank you! I will try!
Slack
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
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
What is the directory path to CKEditor?
The CKEditor is under this
The CKEditor is under this directonry: public_html/convention/sites/all/modules
Something like this?
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
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
http://docs.cksource.com/CKEditor_for_Drupal/Open_Source/Drupal_7/Troubl...
When all else fails, inactivate, uninstall, remove left over directories, download fresh copies and reinstall.
http://docs.cksource.com/CKEditor_for_Drupal
http://ckeditor.com/download
https://www.drupal.org/project/ckeditor
Be sure to check for compatible version of library
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.