<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Multiple lists</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 15 Apr 2026 06:23:25 -0000</pubDate>

		<item>
			<title>Hodges</title>
			<description><![CDATA[<p>
	I was afraid of that; it's been so long!</p>
<p>
	Well, here's a list.tpl:</p>
<pre class="brush:xml;">
&lt;!-- BEGIN: MAIN --&gt;

	&lt;div class="mboxHD"&gt;
	{LIST_PAGETITLE}&lt;div class="mboxHDright"&gt;{LIST_CATDESC} &amp;nbsp; &amp;nbsp; {LIST_SUBMITNEWPAGE}&lt;/div&gt;&lt;/div&gt;
	&lt;div class="mboxBody"&gt;
	
	&lt;h1&gt;{LIST_CATTITLE}&lt;/h1&gt;
	
	&lt;div style="text-align:justify;margin: 0px 0px 20px 0px"&gt;{PHP.cfg.freetext3}&lt;/div&gt;
	&lt;!-- BEGIN: LIST_SUBLIST --&gt;
		&lt;table class="cells"&gt;
			&lt;tr&gt;
				&lt;td class="coltop"&gt;{LIST_TOP_TITLE} {LIST_TOP_COUNT}&lt;/td&gt;
				&lt;td class="coltop" style="width:96px;"&gt;{LIST_TOP_DATE}&lt;/td&gt;
			&lt;/tr&gt;
			&lt;!-- BEGIN: LIST_ROW --&gt;
			&lt;tr class="{LIST_ROW_ODDEVEN}"&gt;
				&lt;td&gt;
					&lt;strong&gt;&lt;a href="https://www.cotonti.com/{LIST_ROW_URL}"&gt;{LIST_ROW_TITLE}&lt;/a&gt;&lt;/strong&gt; {LIST_ROW_FILEICON}&lt;br /&gt;
					&lt;span class="desc"&gt;{LIST_ROW_DESC} ({PHP.L.Hits}: {LIST_ROW_COUNT})&lt;/span&gt;
				&lt;/td&gt;
				&lt;td class="centerall"&gt;{LIST_ROW_DATE}&lt;/td&gt;
			&lt;/tr&gt;
		&lt;!-- END: LIST_ROW --&gt;

		&lt;/table&gt;
	&lt;!-- END: LIST_SUBLIST --&gt;
&lt;/div&gt;

&lt;!-- END: MAIN --&gt;

</pre>
<p>
	New tags are LIST_SUBLIST.</p>
<p>
	As far as the plugin goes, it needs to:</p>
<ol><li>
		Read parent path(s) from plugin config (e.g. 1.1).</li>
	<li>
		For each path see if(exists) daughter categories (e.g. 1.1.1, 1.1.2, 1.1.3).</li>
	<li>
		Then assign each page of daughter categories to a new row in a new list (e.g. 4 pages from 1.1.1, 2 pages from 1.1.2 and 5 pages from 1.1.3).</li>
	<li>
		When <u>localhost/list.php?c=apples</u> is requested (and apples has path 1.1) then all lists (1.1.1, 1.1.2, and 1.1.3) are displayed on the same page.</li>
</ol><p>
	I have no idea how to begin implementing this! <img alt="frown" height="20" src="http://www.cotonti.com/plugins/ckeditor/lib/plugins/smiley/images/confused_smile.gif" title="frown" width="20" /></p>
]]></description>
			<pubDate>Tue, 20 Sep 2011 10:22:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6523&d=0#post30777]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[<p>
	That will require a plugin. You can have a look at <a href="http://www.cotonti.com/extensions/navigation-structure/combilists">CombiLists</a>. Although it does something similar to what you want, it's not the same. It simply combines items from multiple categories into a single list. Perhaps you can modify it.</p>
]]></description>
			<pubDate>Mon, 19 Sep 2011 21:21:21 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6523&d=0#post30765]]></link>
		</item>
		<item>
			<title>Hodges</title>
			<description><![CDATA[<p>
	Hi,</p>
<p>
	How do I enable multiple lists of pages to be shown at once?</p>
<p>
	For instance, being able to list pages belonging to category of path 1.1, and in a new list <em>on the same webpage</em>, list pages belonging to category of path 1.2 where both category of path 1.1 and category of path 1.2 belong to category of path 1.</p>
<p>
	Cheers,<br />
	Hodges</p>
]]></description>
			<pubDate>Mon, 19 Sep 2011 16:48:37 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6523&d=0#post30758]]></link>
		</item>
	</channel>
</rss>