wipeout_dude's picture

How do I create a static block in code?


Hopefully someone can help me out here.. Firstly I am not a coder but I have a problem that needs code to be resolved..

I am creating a feature using "features" and I need to create a static block where the content is a simple HTML table.. Features doesn't export blocks so my plan is to add it in code to the .module file of the exported feature..

I haven't been able to find any code examples for a simple block to start from so if anyone can give me a pointer and perhaps a sample that would be great!!


EDIT: I am using Drupal 7 if that makes any difference..

Read more
kpbowler's picture

Free Messaging Service for Drupal


I've seen a really nice feature on the BBC mobile site, where you can send a free, short SMS style message direct to the studio and wondered if anyone else thinks this would be an interesting feature to replicate in Drupal.

Read more
rocknlnx's picture

Trying to create a front/home page my way

Hi all:

Read more
Subscribe with RSS Syndicate content

Drupal Dojo

Group organizers

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: