is it possible to declare more than 1 block in a module?
I tried to create a extra module in a block by changing the name to mymodulename_first_block and mymodulename_second_block but then i can’t see them in th list.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use $delta variable for this: http://api.drupal.org/api/function/hook_block/5
See example in bottom