Active
Project:
Boxes
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 May 2013 at 20:52 UTC
Updated:
28 May 2013 at 13:08 UTC
Hello.
I'm trying to add a div in a custom box. I think populating my box with fields but for the hcard format I'd need a surrouding div with classes for the infos to be parsed...
How or where can I add a div to a special block type ? Is it possible to create a template for a custom block ?
SHould I create a module ?
Any idea really welcome...
Comments
Comment #1
artatum commentedWell I got one track : edit the template.php of my theme and into preprocess_block I added :
my box id is 'block-boxes-my-hcard' so I'm trying :
On a normal block like block-17 it works. But not on my Box...
If someone see how we can add a class onto a Box-block, any idea is welcome...