applejack wrote:
I only installed page blocks 0.1.5 via the Module Manager a few days ago and still the same problem. No spaces allowed in block name. Also it is confusing in that single quotes don't work and oneline="true" has to be after the block name and therefore works differently from CMSMS's main content blocks.
I'm currently very busy with my summer programming job and I don't have time to work on fixing this. I'd appreciate it if you would file those problems as bugs here:
http://dev.cmsmadesimple.org/tracker/?a ... unc=browse Someday, I may have time to work on fixing them.
applejack wrote:
Also I wish to find out if it is possible to have different page blocks within more than one content block of a template and if so how. If not then please take this as a request. I would appreciate it is you could let me know asap as I am working on a site which I am hoping to be able to do this.
I think you could do this two different ways, neither of which are optimal, but I don't have time to work on PageBlocks more right now.
1. You could create 2 different blocks on the page. 1 called "Content Section 1" or something and the other "Content Section 2".
Add all the other blocks as children of either "Content Section 1" or "Content Section 2".
Then in the 1st content block of your page template find the id of "Content Section 1" (look at the URL when editing it) and if it was 52 you would put this:
Code: Select all
{cms_module module='pageblocks' show_children_of='52'}
Then in the 2nd content block of your page template find the id of "Content Section 2" (look at the URL when editing it) and if it was 76 you would put this:
Code: Select all
{cms_module module='pageblocks' show_children_of='76'}
2. Or, Option #2: Create a new page, set it as not active so it doesn't show up on your site. Attach the blocks you want in the second content block of your other page to that new page and then call pageblocks like this (if 23 was the id of that new page):
Code: Select all
{cms_module module='pageblocks' page_id='23'}
Hope this helps,
Elijah