"Add to Main" won't accept any more blocks

Permalink
Hi, I've made my own blocks with the Designer Content add-on and I can add the first two to my main content block without issue. Now when I click the 'Add to Main' link at the bottom of the page to add a third block, the 'Add Block' option is gone and it shows 'Edit/Copy to scrapbook/Move/Delete/Design/Custom Template.

Does anyone have any idea what could be happening?

Thanks,
John

 
12345j replied on at Permalink Reply
12345j
hey,
you're theme may be limiting the number of blocks that you can display. Check if theres some code like this
$a->setBlockLimit(2);
in your themes template file. good luck!
DanK replied on at Permalink Reply
Thanks but unfortunately not, the template is one I've built from scratch.

Any other ideas, I'm really struggling with this one?
tallacman replied on at Permalink Reply
tallacman
do you have a public url?
DanK replied on at Permalink Reply
Sorry I don't, it's on my local drive. I take it there's usually no limit on how many blocks you can add to an area?

Thanks for getting back to me anyway.
tallacman replied on at Permalink Reply
tallacman
No but your theme might be messed up somehow. Wanna stuff it and send it to me via email?

stev@mac.com
DanK replied on at Permalink Reply
Thanks Steve for the kind offer but I spotted the problem. The blocks I'm adding are made using the Designer Content add-on. It seems that in order to add blocks one after the other you need to wrap them in an <li> and all seems to work.

The Designer Content add-on is terrific by the way (and free!). The only gripe is that the documentation is quite poor so it's harder to implement than it could be, but I suppose that's like complaining that your free beer isn't quite cold enough!

Thanks again. John.