Content blocks

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
seafurymike
Forum Members
Forum Members
Posts: 24
Joined: Sun Feb 04, 2007 11:44 am

Content blocks

Post by seafurymike »

Hi,

I am using the default Panoramica template(an love it) and have found that when I add something in the second and third blocks, it doesn't inherit the offset which is in the first block.

I am not sure how to fix this. I have read a thread on this (which I think is my problem)
http://forum.cmsmadesimple.org/index.ph ... l#msg53647

but I still can't get it. What I have noticed is that if i change the code from this:




{content block='contenttitle' oneline='true'}
{content}

   
    {content block='block1title' oneline='true'}
** {content block='block1'}
   
   
    {content block='block2title' oneline='true'}
**  {content block='block2'}
   


----------

to this:




{content block='contenttitle' oneline='true'}
{content}

   
    {content block='block1title' oneline='true'}
  ** {content}
   
   
    {content block='block2title' oneline='true'}
**  {content}
--------------

then the content changes(but of course it is the exact same as the first block), so I am assuming it is related to the stylesheet pixelhaus "content" section, but I am buggered if I can work out what I need to change or add.

Any help appreciated
Michael
seafurymike
Forum Members
Forum Members
Posts: 24
Joined: Sun Feb 04, 2007 11:44 am

Re: Content blocks

Post by seafurymike »

Given there is no response I must of made this question complex.

To summarise:
I see that when I look at content block 1, there is no inner container, in the container, as there is with "content".

Is this broken by the divider??
Is there a way to insert the inner container in to the other content blocks also?

/Michael
seafurymike
Forum Members
Forum Members
Posts: 24
Joined: Sun Feb 04, 2007 11:44 am

Re: Content blocks

Post by seafurymike »

Okay worked it out.Ref for others in the furture.


For some reason the bit was not inserted at the start and end in the first and second blocks.
I added these to the source code and no problem.

/M
Post Reply

Return to “Developers Discussion”