Friday, October 31, 2008

想看免費的新IT技術原文書

覺得進口的原文書太貴,
又想跟上時代 學習熱門的新技術?

到PacktPub的網站申請當Reviewer 或者 ...
http://www.packtpub.com/free

Thursday, October 23, 2008

Internal Links and External Links

Internal Links : when clicked, shd not pop out new window; shd have proper access permission
External Links : when clicked, shd pop out new window

Wednesday, October 22, 2008

How to goto weblink without opening new browser window?

[Q] How to goto weblink without opening new browser window in drupal? (WebLinks module)

[try] http://drupal.org/node/31598

Take care when move module


  • put the add-on modules at drupal/sites/all/modules/
    instead of drupal/modules/ , where core modules are put.

  • if an add-on module was placed at drupal/modules/,
    before moving it to drupal/sites/all/modules/, remember to disable it first.
    Then cut and paste the whole diretory of the add-on module to drupal/sites/all/modules/

Run-time call by reference deprecated

Run-time call by reference deprecated:
0. function f1(&$form) {...}

1. deprecated version: call the function in a PHP program
...
$form1= ...;
f1(&$form1);


2. revised version
...
$form1= ...;
f1($form1);
//call-by-reference is determined compile-time,
//i.e. determined by the function declaration

Call-time pass-by-reference deprecated warning

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file
in C:\wamps2\www\drupal\sites\all\modules\weblinks\weblinks.module on line 323
in C:\wamps2\www\drupal\sites\all\modules\weblinks\weblinks.module on line 1507


[suspicious causes but actually not]
1. move module weblinks from dru\modules\ to dru\sites\all\modules\
2. weblinks module modification

[cause]
call-by-ref is done compile-time(at function declaration),
there is no need to use f1(&$parameter) at calling

Tuesday, October 21, 2008

Captcha module configuration/administration

Captcha module's configuration/administration is located within
"User management" rather than Site Configuration!

Monday, October 20, 2008

Often mentioned module?

Views
Panel
PathAuto

Thursday, October 16, 2008

How to change default publishing option?

[Q] How to change default publishing option for certain module/node/page?

[try1] use Views module to create a view customized for the desired module?

[try2] use Workflow module to setup desired options?

[try3] "Override Node Publishing Options" module
http://drupal.org/project/override_node_options ?

Thursday, October 9, 2008

Amazee - Drupal powered social collaboration. A redesign case study.

A redesign case study is provided in http://drupal.org/node/317253


Amazee - Drupal powered social collaboration.


Amazee logo




"... What is Amazee

Amazee is a platform that channels any kind of activism and provides powerful tools to help project initiators organize, promote, and fund projects of any size with participants from anywhere around the world.
..."