Staticpage and Newsbox problem
Posted: Fri Apr 27, 2007 1:28 pm
Hi i'm trying to use s9y as a CMS.
I want to show the first 4 Entires from each Categorie sorted by categorie like this:
-Cat 1
--------Entire 1
--------Entire 2
-Cat 2
--------Entire 1
--------Entire 2
-Cat 3
--------Entire 1
--------Entire 2
So I've tried to use a static page as Frontpage and show Newsboxes for categorys like this:
Staticpage:
Newsbox1 - Cat1
--------Entire 1
--------Entire 2
Newsbox2 - Cat2
--------Entire 1
--------Entire 2
but i've a problem. I use 4 newsboxes but the last one shows the entries twice.
Newsbox4 - Cat4
--------Entire 1
--------Entire 2
emptylines
--------Entire 1
--------Entire 2
has anyone some ideas how to solve this problem?
at the sourcecode it looks like this:
It dows not matter which newsbox is the last. All entries of it shows twice 
I hope someone can help me
and sorry for my bad english
If noone has a idea, i've try to solve this problem with a last empty newsbox which shows a dummy categorie. Is there some way to hide a category in the sidebar?
I want to show the first 4 Entires from each Categorie sorted by categorie like this:
-Cat 1
--------Entire 1
--------Entire 2
-Cat 2
--------Entire 1
--------Entire 2
-Cat 3
--------Entire 1
--------Entire 2
So I've tried to use a static page as Frontpage and show Newsboxes for categorys like this:
Staticpage:
Newsbox1 - Cat1
--------Entire 1
--------Entire 2
Newsbox2 - Cat2
--------Entire 1
--------Entire 2
but i've a problem. I use 4 newsboxes but the last one shows the entries twice.
Newsbox4 - Cat4
--------Entire 1
--------Entire 2
emptylines
--------Entire 1
--------Entire 2
has anyone some ideas how to solve this problem?
at the sourcecode it looks like this:
Code: Select all
<!--newsbox-->
<div class="newsbox"><h3 class="newsbox_title"><a href="http://127.0.0.1/blog/index.php/categories/4">CAT 5</a></h3>
<!-- ENTRIES START -->
<div class="serendipity_Entry_Date">
<br/>
<h2 class="serendipity_commentsTitle_frontpage"><a href="/blog/index.php?/archives/9-27-04-2007.html" >Entrie 1/a></h2>
<div class="serendipity_entry serendipity_entry_author_Admin serendipity_entry_author_self">
<span class="serendipity_entryIcon">
</span>
</div>
</div>
<div class="serendipity_Entry_Date">
<br/>
<h2 class="serendipity_commentsTitle_frontpage"><a href="/blog/index.php?/archives/5-02-04-2007.html" >Entry 2</a></h2>
<div class="serendipity_entry serendipity_entry_author_Admin serendipity_entry_author_self">
<span class="serendipity_entryIcon">
</span>
</div>
</div>
<div class='serendipity_pageFooter' style="text-align: center">
</div>
<!-- ENTRIES END -->
</div><!--newsbox-->
<div class="serendipity_Entry_Date">
<br/>
<h2 class="serendipity_commentsTitle_frontpage"><a href="/blog/index.php?/archives/9-27-04-2007.html" >Entry 1</a></h2>
<div class="serendipity_entry serendipity_entry_author_Admin serendipity_entry_author_self">
<span class="serendipity_entryIcon">
</span>
</div>
</div>
<div class="serendipity_Entry_Date">
<br/>
<h2 class="serendipity_commentsTitle_frontpage"><a href="/blog/index.php?/archives/5-02-04-2007.html" >Entry 2</a></h2>
<div class="serendipity_entry serendipity_entry_author_Admin serendipity_entry_author_self">
<span class="serendipity_entryIcon">
</span>
</div>
</div>
<div class='serendipity_pageFooter' style="text-align: center">
</div>
<!-- ENTRIES END -->
<!-- CONTENT END -->
I hope someone can help me
and sorry for my bad english
If noone has a idea, i've try to solve this problem with a last empty newsbox which shows a dummy categorie. Is there some way to hide a category in the sidebar?