I've succesfully installed Domain Access module on my Drupal and I have to say it is quite interesting. The thing is that I've been testing the module, created several subdomains, pages and users and I've found out that users can log in across all subdomains. I would like to accomplish quite the contrary... I mean to create users for specific subdomains, so one user could just log in into one specific subdomain and, in case he tries to log in into some other subdomain, he would be rejected.
When I'm on a 'Video' node, it shows the current video. I am trying to also show a preview (thumbnail) of the previous 'Video' node.
Is there a way to do this by creating a block using views that knows what node is current active, then pulls in content from the previous node of that content type?
I'm creating a module and as part of that module, I'd like to include a webform (using the Webform module) that would be displayed in a block. I know today that I can define a Form (using Form API) in a module using hook_block_info and hook_block_view, as such: