我目前正在与第6博士合作,我一直在致力于一个为某个地点发挥具体功能的习俗单元。 目前,我仍有1个功能有待确定。 当一个档案被上载到 no子时,我想做其他 st子。 我的问题是,我如何抓住这次事件? 就像
when a file is uploaded {
read the file
print an additional info to the field (a cck field)
}
我目前正在与第6博士合作,我一直在致力于一个为某个地点发挥具体功能的习俗单元。 目前,我仍有1个功能有待确定。 当一个档案被上载到 no子时,我想做其他 st子。 我的问题是,我如何抓住这次事件? 就像
when a file is uploaded {
read the file
print an additional info to the field (a cck field)
}
Use filefield s hook_file_update(). See here: http://www.wesjones.net/home/2011/03/drupal-6-how-to-change-filename-on-upload
I am working on a custom module with multi-page form on drupal 6. I found that #default_value is not working when my #type => textfield . However, when #type => textarea , it displays correctly ...
I have a created a view (lets call it my_view). In the theme: information section if the view I have noted one of the suggested template names (views-view--my-view--default.tpl.php (or close to that))...
Which is the best module for Syntax Highligting in Drupal. I am using GeSHi for syntax highlighting my code. It was working fine then I installed a second module FCKeditor. Now GeSHi filter is not ...
I have two content types, book and chapter. Each chapter node contains a node reference of the book to which it belongs. I have created a view which displays the title of each chapter for a given ...
I m not quite sure how to do this in SQL. Here it is in pseudocode: Take the list of nodes with content type X. For each node, take the value of field Y. Insert into term_nodes VALUES ((tid that ...
Although I am using drupal since the D4 series, I only started developing professionally for it with D6, so - despite I did various site upgrades - I was never faced by the task of having to port my ...
I need to limit access of content on Drupal site based on the Drupal User s Role. http://site.com/managers/intro http://site.com/managers/reviews http://site.com/managers/up-for-raises The ...
I am using Drupal 6.x with Zen theme. Currently, the following 3 user functions are grouped under a menu, when accessing urls like http://domain.com/user Create new account / Log in / Request ...