Tuesday, November 18, 2008

how to debug into .inc and .module file for php using eclipse

[Q] how to debug into(step debug) .inc and .module file for php using eclipse?

[try]

  • add mime association by editing /etc/mime.types,

  • add .inc and .module to php handler by editing /etc/apache2/mods-available/php5.conf

  • associate .inc, .module to eclipse editor by
    Eclipse -> Window -> Preferences -> General -> Content Types -> Text -> PHP Content Type ->
    File Associations -> Add .module and .inc;
    Restart Eclipse

Saturday, November 8, 2008

cannot enable fckeditor module?

[Q] After installing fckeditor-6.x-2.x-dev.tar.gz and FCKeditor_2.6.3.tar.gz,
then trying to enable fckeditor module, but

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in drupal/sites/all/modules/fckeditor/fckeditor.module on line 235

found that a fckeditor already exists in core, i.e. drupal/modules/fckeditor

cannot remove either drupal/modules/fckeditor or drupal/sites/all/modules/fckeditor/ in bluehost,
why?

--> bluehost disable the recursive delete/change permission!?
--> has to use Legacy FileManager!

Tuesday, November 4, 2008

Views Online Help

http://views-help.doc.logrus.com/help/views/about
重點:

  • Views 是很重要的模組
  • View == Content List/Collection, Content= Page, Story, Blog, ...
  • Display == View 的呈現(Presentation)


原文摘要:
"What is Views?

The views module allows administrators and site designers to create, manage, and display lists of content. Each list managed by the views module is known as a "view",
and the output of a view is known as a "display".

Displays are provided in either block or page form,
and a single view may have multiple displays.

Optional navigation aids, including a system path and menu item, can be set for each page-based display of a view.
...
"