How can I modify or pre-process the <body> tag to开发者_如何学运维 add the class body? I don\'t want to create a whole html.tpl.php just to add a class.In your theme\'s template.php file use the
I am currently working on a custom form module in Drupal 6. In this form I am using a checkboxes field with about 10 different options. The problem I seem to be having is that the only output I get fr
I have the following nodes: Project milestones (field_collect开发者_运维问答ion) title due date etc..
I am using IMCE for file uploads for css and js changes , but whenever i upload js it gets renamed to .txt files . I looked up the code and in开发者_运维知识库 upload submit in imce it uses drupal API
In Drupal 6, my module had this next function which inserted a javascript to the footer of the page, but in Drupal 7, stuff have chan开发者_如何学编程ged. How can I do this next code in drupal 7?
Let\'s say I have this implementation of hook_menu(): function example_menu(){ $items = array(); $items[\'admin/recent-completions\'] = array(
There are cases when the output for print_r is very complicated, long and hard to read, e.g. objects, nesting arrays开发者_JS百科, nesting objects, nesting arrays,...
i was using drupal6 for my project. i am using two different themes for front end and backend. i managed my frontend page.tpl.php as per my requirements. But if i logged in with admin username & p
I\'m building an estimate for a potential client. I\'ll do some more research if I get the project, but need some ideas for now. I\'m trying to figure out a good solution that won\'t take several mont
I\'ve 2 content type First content type name is content_type_sales and second content type name is content_type_product.