I'm using this module in an install profile and I'd like to create and enable a Twitter block during the install process so it's ready and waiting when the user first logs in.

I've done this with custom blocks by simply implementing hook_block_info() and hook_block_view() in a custom module, however I don't think that will work here as you're not using the default custom block system...
How do I therefore create a Twitter block programatically?

Comments

BWPanda’s picture

Status: Active » Closed (fixed)

Ah, nevermind. As I will only ever need one Twitter block, I've decided to just bypass this module and implement my own Twitter block based on your code.

Problem solved :)

ssanchez77’s picture

Issue summary: View changes

Hello BWPanda. I need exactly the same functionality. Did you publish your implementation of this module?

Thanks in advance.

BWPanda’s picture

@ssanchez77: No, sorry. I'm currently redoing that site, so will probably be looking into this again in the next few months...