Page 1 of 1

How to make break in news module? [solved]

Posted: Mon Jul 06, 2009 3:41 pm
by christophera
Ok, everyone talks about how easy cms made simple is, but I am struggling with it.  I sure once I get over the learning curve it will all make sense  ::)

My news posts are running together, with no break in between them, see http://koryodo.sure-start.com

What template do I need to edit to put in a break?  I see some default templates in the news admin, but changing the one I thought would affect it didn't.  Wrong place?

Thanks,  Chris

(I know the site's overall template doesn't work with firefox - that's on the list to fix)

Re: How to make break in news module?

Posted: Mon Jul 06, 2009 4:07 pm
by Jeff
By default that should be the "summary" templates, look at the one set as default.

Re: How to make break in news module?

Posted: Mon Jul 06, 2009 4:30 pm
by christophera
I seem to be missing something here...

I'm going to 'content', 'news', 'summary templates', 'sample' (has the green check) and adding at the end of the template.  Then save it.

But it doesn't have any affect.

Re: How to make break in news module?

Posted: Mon Jul 06, 2009 4:52 pm
by Nullig
Have you attached the News stylesheet to your template?

Nullig

Re: How to make break in news module?

Posted: Mon Jul 06, 2009 5:00 pm
by Jeff
They need to go right before the last {/foreach}

Code: Select all

  {/foreach}
{/if}

</div>
<br/><br/>
{/foreach}
<!-- End News Display Template -->
Alternatively (My preference) go edit your stylesheet and add a margin-bottom: 10px; to div.NewSummary

P.S. Did you add the Module: News stylesheet to your template?

Re: How to make break in news module?

Posted: Mon Jul 06, 2009 7:53 pm
by christophera
Ah, before the foreach did it, I should have figured that out  ???

Each time I jump in here, I learn more than I can use elsewhere though, thank you both very much!

I had not added the module:news stylesheet to my template.  But... just did and that makes a big difference!  I'll have to read up more on adding stylesheets.

Thanks again,

Chris