Hi,
I have just installed phpwms. I have created several categories and articles in them. Article lists are generated allright in sublevel (category) index pages, but are not generated in the main index.php. What could be the problem?
How to show articles from all categories at homepage
My main block is following:
Code: Select all
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><img src="img/leer.gif" width="1" height="10"></td></tr>
<tr>
<td class="breadcrumb">{BREADCRUMB}</td>
<td align="right" class="footer">{DATE_ARTICLE}</td>
</tr>
<tr><td colspan="2"><img src="img/leer.gif" width="1" height="5"></td></tr>
<tr><td colspan="2"><img src="img/article/elements/content_line_499.gif" width="499" height="1"></td></tr>
<tr><td colspan="2"><img src="img/leer.gif" width="1" height="15"></td></tr>
</table><table width="630" border="0" cellpadding="0" cellspacing="0">
<tr><td>{CONTENT}</td></tr>
<tr><td><img src="img/leer.gif" width="1" height="25"></td></tr>
<tr><td>
<p align="center">[BACK]<img src="img/article/back_link_0.gif" border="0">[/BACK] <a href="#" target="_top" title="goto top of the page"><img src="img/article/top_link_0.gif" border="0"></a> [PRINT]<img src="picture/symbols/print_icon.gif" width="44" height="9" border="0" title="open optimized page for printing">[/PRINT]</p>
</td></tr>
<tr><td height="100%"><img src="img/leer.gif" width="1" height="25"></td></tr>
<tr><td><img src="img/article/elements/content_line_499.gif" width="499" height="1"></td></tr>
<tr><td><img src="img/leer.gif" width="1" height="5"></td></tr>
<tr><td class="footer"> [RSS all]XML RSS[/RSS]</td></tr>
</table>
Yes, I did - all set to "visible" and "public".
I do not have articles at the first levels, only articles in the sub-levels or categories. The structure is like that:
Home
--> Category1
------ Article1.1
------ Article1.2
--> Category2
------ Article2.1
------ Article2.2
The list of articles is displayed in the category pages. What I would like to do is to have list of those articles from categories to be displayed at the front page as well. Is it possible?
I do not have articles at the first levels, only articles in the sub-levels or categories. The structure is like that:
Home
--> Category1
------ Article1.1
------ Article1.2
--> Category2
------ Article2.1
------ Article2.2
The list of articles is displayed in the category pages. What I would like to do is to have list of those articles from categories to be displayed at the front page as well. Is it possible?