Help: I still dont get the multiple content block
Help: I still dont get the multiple content block
Hello everyone.
I know that someone talked about using {content block="column1"} {content block="column2"} for placing more than one content block on a page. But the problem is that its still not working for me. Could anyone be kind enough to explain it very well for me? I placed two {content} tags on the default template but didnt work, Also tried the above content block ="colunm1 etc. What am i not getting? I have content pages created alread that i want to display on the homepage of the site(still working in localhost) . Where exactly are the content tags to be placed? When i go to content- pages- edit pages, i dont see the option of editing two blocks like i read in this forum. Please , help.
Thanks
I know that someone talked about using {content block="column1"} {content block="column2"} for placing more than one content block on a page. But the problem is that its still not working for me. Could anyone be kind enough to explain it very well for me? I placed two {content} tags on the default template but didnt work, Also tried the above content block ="colunm1 etc. What am i not getting? I have content pages created alread that i want to display on the homepage of the site(still working in localhost) . Where exactly are the content tags to be placed? When i go to content- pages- edit pages, i dont see the option of editing two blocks like i read in this forum. Please , help.
Thanks
Re: Help: I still dont get the multiple content block
put this in your template somewhere,, prefferably in a div,
{content block='content2'}
more blocks higher number, then go to pages and open one that uses that template, you should now see 2 or more 'content' boxes to edit/fill
mark
{content block='content2'}
more blocks higher number, then go to pages and open one that uses that template, you should now see 2 or more 'content' boxes to edit/fill
mark
Re: Help: I still dont get the multiple content block
Hi Hate to break in on a thread but I am having the same issue.
I did what Mark suggested and have two edit boxes.
But when I put something in the second box (content2) it is not showing on the page.
My code is
{content block='content2'}
Thanks for any help
I did what Mark suggested and have two edit boxes.
But when I put something in the second box (content2) it is not showing on the page.
My code is
{content block='content2'}
Thanks for any help
Re: Help: I still dont get the multiple content block
of course you have a page using that template 
when you edit the page and use preview the second content sometimes wont show,, no idea why.
do you have any CSS style for that 'content2' box?
i have one with 5 or 6 boxes.
mark

when you edit the page and use preview the second content sometimes wont show,, no idea why.
do you have any CSS style for that 'content2' box?
i have one with 5 or 6 boxes.
mark
Re: Help: I still dont get the multiple content block
Thanks Maksbud. Your tip worked . Its showing now. Thanks a lot
Re: Help: I still dont get the multiple content block
OK, I was first searching this forum and found a similar thread about my problem, so I thought I'd post a reply here instead of writing a new thread...
I can very well create several content blocks, and they do show up fine:
{content block='topNav'}
{content block='leftNav'}
{content block='mainContent'}
However, and this is the confusing part: I get a 4th content block in the WYSIWYG page!
It's not doing anything. It just sits at the top. If I enter some text there, it's not displayed anywhere on the published page.
Why is that? If I define three blocks, why am I getting four blocks instead?
Is that "expected behaviour" or some bug?
And yes, I did the global "clear cache" thing too, I still get that.
Thanks for help + tips.
I can very well create several content blocks, and they do show up fine:
{content block='topNav'}
{content block='leftNav'}
{content block='mainContent'}
However, and this is the confusing part: I get a 4th content block in the WYSIWYG page!
It's not doing anything. It just sits at the top. If I enter some text there, it's not displayed anywhere on the published page.
Why is that? If I define three blocks, why am I getting four blocks instead?
Is that "expected behaviour" or some bug?
And yes, I did the global "clear cache" thing too, I still get that.
Thanks for help + tips.
Re: Help: I still dont get the multiple content block
got a screen shot and template code...
what does it say for the name of that block...
are you using default template or one you made...
Got Link?
wysiwyg? do you mean... Content » Pages » Edit Page: yourpage
what does it say for the name of that block...
are you using default template or one you made...
Got Link?
wysiwyg? do you mean... Content » Pages » Edit Page: yourpage
Re: Help: I still dont get the multiple content block
mark wrote: got a screen shot and template code...
what does it say for the name of that block...
are you using default template or one you made...
Got Link?
wysiwyg? do you mean... Content » Pages » Edit Page: yourpage
Thanks for the quick reply.
Yes, under Content > Pages -> Edit Page.
The FIRST edit-box is "anonymous", i.e. it's not titled with any of my content block names I assigned in my template.
Then the other 3 boxes show up, that's fine.
This happens both when I want to create a new page, as well as when I want to edit an existing page.
I'm using a modified template. A very simple structure, and simple HTML/CSS too.
The only content blocks are the ones I listed above, in my first post.
I'm using the latest CMSMS version, "Canary".
It's not a major problem really, just slightly confusing (and especially when the client will eventually ask "but what is this box doing here?" later on...)
Re: Help: I still dont get the multiple content block
I found that one of the blocks needs to be created with {content} only as it appears anyway. That is the anonymous block.
Try
content block='topNav'}
{content block='leftNav'}
{content}
Try
content block='topNav'}
{content block='leftNav'}
{content}
Greg
Re: Help: I still dont get the multiple content block
if you have taken out the default {content}
try changing this {content block='mainContent'} to {content}
i have just changed my default template in a clean install, no changes to anything else, with your code {content block='mainContent'} and no {content} and the top box still has all the default words in it but it doesn't show on the published page, if you look about one line or so above that box just below the Template: dropdown you should see Content:
mine http://mit-computers.com/index.php/content_types
the default words are still in the Content » Pages » Edit Page: yourpage Content: box but they don't show...
this is a default setting that is somewhere in a .php file... i would have to hunt this down, no time at the moment... must goto day job make money...
try changing this {content block='mainContent'} to {content}
i have just changed my default template in a clean install, no changes to anything else, with your code {content block='mainContent'} and no {content} and the top box still has all the default words in it but it doesn't show on the published page, if you look about one line or so above that box just below the Template: dropdown you should see Content:
mine http://mit-computers.com/index.php/content_types
the default words are still in the Content » Pages » Edit Page: yourpage Content: box but they don't show...
this is a default setting that is somewhere in a .php file... i would have to hunt this down, no time at the moment... must goto day job make money...

Re: Help: I still dont get the multiple content block
Alright, that did it!
CMSMS wants at least one content block simply named {content}, whether you define it in the template or not...
Thanks a lot for your help.
CMSMS wants at least one content block simply named {content}, whether you define it in the template or not...
Thanks a lot for your help.
