Wrapping blocks

Permalink 7 users found helpful
I have an Area in my template that the client will always insert a 'Content' block.

Is is possible to have this wrapped in a <div> tag, so that each time a block is added so is another div?

View Replies: View Best Answer
Mnkras replied on at Permalink Best Answer Reply
yep here ya go ;)
$start = '<div id="middle-content" class="trans white shadow">';
$end = '</div>';
$d = new Area('Main');
ijessup replied on at Permalink Reply
huh... never knew that. Marked as "Helpful"!

Thanks Mnkras for answer and johndorsay for question. :D
johndorsay replied on at Permalink Reply
That's great Mnkras.
I've gotta say this community is such a pleasure to be a part of.
agedman replied on at Permalink Reply
Ditto that!