<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Comments for page &quot;ListPages Module&quot;</title>
		<link>http://dev.wikidot.org/forum/t-60744/listpages-module</link>
		<description>Posts in the discussion thread &quot;ListPages Module&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Thu, 29 Jul 2010 13:30:00 +0000</lastBuildDate>
		
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-522120</guid>
				<title>List Pages Column Display</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-522120</link>
				<description></description>
				<pubDate>Mon, 29 Jun 2009 22:31:48 +0000</pubDate>
				<wikidot:authorName>g33kcub</wikidot:authorName>				<wikidot:authorUserId>322902</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>It would be nice to get listpages to display in columns rather than a single column.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-338867</guid>
				<title>Re:</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-338867</link>
				<description></description>
				<pubDate>Fri, 19 Dec 2008 13:32:27 +0000</pubDate>
				<wikidot:authorName>gerdami</wikidot:authorName>				<wikidot:authorUserId>3370</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Example moved to <a href="http://sandbox-old.wikidot.com/listpages">http://sandbox-old.wikidot.com/listpages</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-338865</guid>
				<title>Re: Pagination (perPage &amp; limit)</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-338865</link>
				<description></description>
				<pubDate>Fri, 19 Dec 2008 13:31:18 +0000</pubDate>
				<wikidot:authorName>gerdami</wikidot:authorName>				<wikidot:authorUserId>3370</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Example moved to <a href="http://sandbox-old.wikidot.com/listpages-pagination">http://sandbox-old.wikidot.com/listpages-pagination</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-190928</guid>
				<title>Order by page rating</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-190928</link>
				<description></description>
				<pubDate>Wed, 11 Jun 2008 23:40:49 +0000</pubDate>
				<wikidot:authorName>David Marseilles</wikidot:authorName>				<wikidot:authorUserId>29608</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>It would be nice to have ratingDesc and ratingAsc options for the "order" attribute based on (obviously) the page rating.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-176552</guid>
				<title>(no title)</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-176552</link>
				<description></description>
				<pubDate>Sat, 31 May 2008 20:04:08 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>&gt; 1. Headers are now stripped from the summary and newlines are being removed.</p> <p>Michal, shouldn't %%summary%% behave roughly like [[module Pages … preview="true"]] does?</p> <p>%%summary%% displays so much more (formatted) text that it's very difficult to see when the summary for one page ends, and the next page starts — for an example see <a href="http://sandbox.wikidot.com/listpages-summary">http://sandbox.wikidot.com/listpages-summary</a></p> <p>It uses the following code to display page summaries. If I'm correct, there's even a Listpages bug, as you can see that the first page listed there doesn't even have a %%linked_title%%.</p> <div class="wiki-note"> <p><em>Note:</em> As sandbox.wikidot.com changes every day, the bug may not be visible at the time you view the <a href="http://sandbox.wikidot.com/listpages-summary">above link</a>: the bug is with pages containing e. g. the string “%%summary%%” in their page title. For these pages ListPages doesn't generate a correct linked title; ListPages <em>interprets</em> a “%%summary%%” in a page title, instead of using it <em>as-is.</em></p> </div> <div class="code"> <pre> <code>[[module ListPages]] %%linked_title%% %%summary%% [[/module]]</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-175476</guid>
				<title>Re: Change requests</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-175476</link>
				<description></description>
				<pubDate>Fri, 30 May 2008 16:46:06 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Also, while _start does not appear in ListPages (which is correct), it does not receive templating (which is wrong).</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-175411</guid>
				<title>Change requests</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-175411</link>
				<description></description>
				<pubDate>Fri, 30 May 2008 15:14:39 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Sorry to be annoying, but some of the names would benefit from being improved:</p> <ul> <li>ListPages -&gt; Select</li> <li>category, categories -&gt; from</li> <li>tags -&gt; where</li> <li>prependLine -&gt; header</li> <li>appendLine -&gt; footer</li> </ul> <p>Giving something like this:</p> <div class="code"> <pre> <code>[[module Select from="blog,news" where="public" header="||~ Page||~ Date||"]] || %%linked_title%% || %%date%% || [[/module]]</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-175409</guid>
				<title>Re: rssShow, rssEmbed defaults to true?</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-175409</link>
				<description></description>
				<pubDate>Fri, 30 May 2008 15:11:14 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'd prefer 'false' for <em>all</em> boolean options, simply for consistency. In some cases this means finding better names.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-175343</guid>
				<title>lengthDesc/Asc?</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-175343</link>
				<description></description>
				<pubDate>Fri, 30 May 2008 13:28:49 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p><tt>lengthDesc</tt>, <tt>lengthAsc</tt> — what does it do?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-174441</guid>
				<title>Pagination (perPage &amp; limit)</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-174441</link>
				<description></description>
				<pubDate>Thu, 29 May 2008 14:23:22 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Michal, you write:<br /> &gt; Suppose you have 100 pages in your category blog:.<br /> &gt; You want to show them all, but paginated, 10 per page.<br /> &gt; You use: perPage="10".<br /> &gt; Now, to display just 10 pages, but nothing else, no pagination, you use: limit="10".</p> <p>The actual implementation seems to behave differently:</p> <p>If you have 100 pages and use perPage="10" or "20" (and you don't set limit) you get 10 or 20 pages <em>without</em> pagination.</p> <p>Only if you use perPage="10" and specify limit="100" you get 10 by 10 pages with pagination.</p> <p>For an example see <a href="http://sandbox.wikidot.com/listpages-pagination">http://sandbox.wikidot.com/listpages-pagination</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-173520</guid>
				<title>ListPages Bug</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-173520</link>
				<description></description>
				<pubDate>Wed, 28 May 2008 17:39:09 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>ListPages seems to have small bug. Check <a href="http://community.wikidot.com/system:all-pages-ed">http://community.wikidot.com/system:all-pages-ed</a> and scroll down until you find the line starting with “[[| FrontForum — 1 May 2008, 23:45 +0200]]”.</p> <p>It's not a link to a page, but plain text.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-173515</guid>
				<title>Feature request: .../order/titleAsc etc. and .../category/category-name</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-173515</link>
				<description></description>
				<pubDate>Wed, 28 May 2008 17:33:42 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Using ListPages I've designed a nice <a href="http://community.wikidot.com/system:all-pages-ea">List all pages</a> — which users can <em>sort</em> by title, last edited date, or creation date!</p> <p>It took two include templates and six pages to implement this! A big advantage (and a feature that would help reduce the need for six pages down to one page) would be, if ListPages supported URL's such …wikidot.com/<em>page-name</em>/order/titleAsc (similar to what it supports for pagination) to overrule ListPages' sort order.</p> <p>Support for …wikidot.com/<em>page-name</em>/category/<em>category-name</em> would be nice, too.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-173284</guid>
				<title>(no title)</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-173284</link>
				<description></description>
				<pubDate>Wed, 28 May 2008 13:34:00 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Michal, <tt>prependLine</tt> and <tt>appendLine</tt> are really great! You can build very nice tables with them!!</p> <p>There seems to be a bug in the parser though, if you add <tt>style="…"</tt> attributes to the cell tag in <tt>prependLine</tt> — please see <a href="http://sandbox.wikidot.com/listpages">http://sandbox.wikidot.com/listpages</a></p> <p>Thx</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-172875</guid>
				<title>Re: perPage &amp; limit</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-172875</link>
				<description></description>
				<pubDate>Tue, 27 May 2008 19:17:15 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>&gt; limit="n" limits the total number of results that fulfill the select conditions</p> <p>If the default for limit is “none”, then I would expect a default configuration to display <em>all</em> pages, but it actually just displays 20.</p> <p>Is the documentation wrong? What does “none” mean? Zero? Unlimited?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-172728</guid>
				<title>Re: rssShow, rssEmbed defaults to true?</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-172728</link>
				<description></description>
				<pubDate>Tue, 27 May 2008 17:23:22 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'd prefer a default of "false" for both rssEmbed and rssShow.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-172482</guid>
				<title>Re: Error message</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-172482</link>
				<description></description>
				<pubDate>Tue, 27 May 2008 13:18:48 +0000</pubDate>
				<wikidot:authorName>michal frackowiak</wikidot:authorName>				<wikidot:authorUserId>1</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks, it looks like anonymously created pages triggered an error. Quick-fixed for now, I will look at this later today too.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-172455</guid>
				<title>Error message</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-172455</link>
				<description></description>
				<pubDate>Tue, 27 May 2008 12:57:03 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The code (see <a href="http://sandbox.wikidot.com/listpages">http://sandbox.wikidot.com/listpages</a>)</p> <div class="code"> <pre> <code>[[module ListPages prependLine="||~ Page||~ Date||"]] || %%linked_title%% || %%date%% || [[/module]]</code> </pre></div> <p>shows the following error(s):</p> <blockquote> <p>An error occured when processing your request.<br /> Warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid input syntax for integer: "" in /var/www/www.wikidot.com/ozone/ozone/php/core/database/PgConnection.php on line 100</p> </blockquote> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-172121</guid>
				<title>rssShow, rssEmbed defaults to true?</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-172121</link>
				<description></description>
				<pubDate>Tue, 27 May 2008 04:43:34 +0000</pubDate>
				<wikidot:authorName>michal frackowiak</wikidot:authorName>				<wikidot:authorUserId>1</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Since the module is not yet widely used (and not yet in the official list of modules) there might be a few changes we would like to consider. One of them is default values for</p> <ul> <li>rssEmbed (embeds link to a corresponding RSS feed in the HTML header so that browsers and other clients can discover it) and</li> <li>rssShow (shows an RSS icon below the generated list).</li> </ul> <p>What do you thing would be the most commonly used settings for those two? Setting them manually to <em>false</em> too often could be annoying, but on the other hand it would be nice to promote the use of feeds.</p> <p>RSS feeds exist independently of the module, the module just points to the proper URL that allows one to access the feed.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-172112</guid>
				<title>Re: perPage &amp; limit</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-172112</link>
				<description></description>
				<pubDate>Tue, 27 May 2008 04:34:15 +0000</pubDate>
				<wikidot:authorName>michal frackowiak</wikidot:authorName>				<wikidot:authorUserId>1</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Erich,</p> <p>the reason the module "does not work recursively" is because it can enter an endless loop, exactly as in one of your early tests when displaying such a page brings "connection dropped" from the server. Thanks for finding this bug anyway! The quickest way to be 100% sure that no ListPages calls was to disable the nested ListPages.</p> <p>Perhaps a better solution could be found. We were trying some other methods too but this one was the quickest to fix the problem. Any suggestions?</p> <p><strong>PerPage and limit</strong> work in the following way:</p> <p>Suppose you have 100 pages in your category <tt>blog:</tt>. You want to show them all, but paginated, 10 per page. You use: perPage="10".<br /> Now, to display just 10 pages, but nothing else, no pagination, you use: limit="10".<br /> A combination of these: you want a visitor to browse only 50 first pages of 100, but still 10 per page: perPage="10", limit="50".</p> <p><tt>limit="n"</tt> limits the total number of results that fulfill the select conditions — if you have many pages, 10000, this can limit your set to e.g. 40. This limitation is applied first.<br /> <tt>perPage="n"</tt> tells how to display the results — how many per one page. If you limit your result set from 10000 to 40, your can display them all at once (perPage="40") or e.g. by 10 (perPage="10") — it would create 4 pages of results with previous/next buttons.</p> <p>I hope it helps!</p> <p>Thanks for your comments!!!</p> <p>m.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-171773</guid>
				<title>perPage &amp; limit</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-171773</link>
				<description></description>
				<pubDate>Mon, 26 May 2008 21:32:40 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Maybe perPage and limit need better explanation. I'm not sure I fully understand, when to set which of them to what value.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-171766</guid>
				<title>&quot;ListPages module does not work recursively&quot;</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-171766</link>
				<description></description>
				<pubDate>Mon, 26 May 2008 21:18:37 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>When below code lists its own page (i. e. the page that contains this code) you get several “The ListPages module does not work recursively” errors. Not sure though if this is “working as designed” or a bug.</p> <p>See <a href="http://sandbox.wikidot.com/listpages:recursive">http://sandbox.wikidot.com/listpages:recursive</a></p> <div class="code"> <pre> <code>[[module ListPages category="listpages" rssEmbed="false" rssShow="false"]] %%linked_title%% ++++ Description %%description%% ++++ Content %%content%% ++++ Content{1} %%content{1}%% [[/module]]</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-171684</guid>
				<title>Re:</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-171684</link>
				<description></description>
				<pubDate>Mon, 26 May 2008 19:27:20 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Michal: s/prependLine/header/, s/appendLine/footer/</p> <p>-Pieter</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-171656</guid>
				<title>Re:</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-171656</link>
				<description></description>
				<pubDate>Mon, 26 May 2008 18:55:50 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Michal: sounds good but a couple more comments… :-)</p> <p>I'm not sure %%first_paragraph%% is a good name, it's kind of ugly. I'd prefer:</p> <p>- %%content{n}%% to be explicit<br /> - %%short%% to be the first paragraph (obviously, in the first section if any)<br /> - %%description%% to be the same as short (and in fact, multiple names for the same thing is ugly too, and we should choose the nicest, shortest name, and deprecate the rest)</p> <p>I can't see any case where the designer would want the current %%index%%/%%description%% behaviour… like I said, it's unstable because adding a second section makes it go bizarre. First you get the first paragraph, then suddenly you get the whole first section. Unstable is not good.</p> <p>Lastly allowing both 'category' and 'categories' is another hack, and not the right solution. If you can't choose between two terms, they're both wrong. Try something different, like "from" (SQL semantics), and "where" for the tags property.</p> <p>[[code]]<br /> [[module ListPages from="blog,news,index" where="+public,-deleted"]]<br /> etc.<br /> [[/module]</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-171410</guid>
				<title>(no title)</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-171410</link>
				<description></description>
				<pubDate>Mon, 26 May 2008 14:02:20 +0000</pubDate>
				<wikidot:authorName>michal frackowiak</wikidot:authorName>				<wikidot:authorUserId>1</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks for all the valuable comments!</p> <p>I will try to answer most of them below here:</p> <h2><span>%%date%% issue</span></h2> <p>@Erich: thanks, dates are working fine now.</p> <h2><span><tt>categories</tt> parameter and not recognized parameters.</span></h2> <p>OK, now <tt>categories</tt> is an alias to <tt>category</tt>. I think we can make warnings about wrong parameters later - the module took a bit more time than expected anyway. But certainly this is a good thing.</p> <h2><span>More on custom formatting</span></h2> <p>@Erich - unfortunately it is not possible to do custom formatting (i.e. table headers) the way you propose it because modules are processed at a different moment than the rest of the page. However I have a solution that does work: look at the <tt>prependLine</tt> and <tt>appendLine</tt> parameters. This works fine for me:</p> <div class="code"> <pre> <code>[[module ListPages separate="false" rssShow="false" prependLine="||~ Page||~ Date||"]] || %%linked_title%% || %%date%% || [[/module]]</code> </pre></div> <h2><span>@Pieter</span></h2> <p>1. Headers are now stripped from the summary and newlines are being removed.</p> <p>2. There is now a %%first_paragraph%% that does what it says. %%content{1}%% will fetch the first section while the %%short%% and aliases will use either the first section (if exists) or would fall back to the first paragraph. I believe this brings some consistency.</p> <p>3. Sure, one module to rule them all.</p> <p>4. Yes, %%comments%% will be here, but first we would like to detach page comments from the forums structures and possibly make them a bit more blog-like.</p> <p>5. Fixed. Just to be clear: this happened when you had %%content{n}%% in a ListModule inside a _template page.</p> <hr /> <p>Thanks for all the comments, I hope the module works much better now.</p> <p>m.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-169943</guid>
				<title>Re: &quot;categories&quot; instead / in addition to &quot;category&quot;</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-169943</link>
				<description></description>
				<pubDate>Sat, 24 May 2008 10:55:03 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>+1 on "categories" for consistency.</p> <p>A warning on unknown attributes would be generally useful. Also, later, help in the editor for entering module arguments.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-169942</guid>
				<title>Some things to improve</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-169942</link>
				<description></description>
				<pubDate>Sat, 24 May 2008 10:51:47 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>1. When inserting %%content{1}%%, %%description%%, or %%short%%, Wikidot should remove all formatting (e.g. &lt;h1&gt;) and also line terminators. It is impossible to show this, for example:</p> <blockquote> <p>%%content{1}%% (%%date|%O ago%%)</p> </blockquote> <p>2. There is no way to ask for the first paragraph if one uses content separators. That is, adding a content separator anywhere into the page changes the behaviour of %%short%% and %%description%%, which is not good. I'd suggest that if people want to show the first content section they can use this explicitly:</p> <blockquote> <p>%%content{1}%%</p> </blockquote> <p>and if they use %%description%% or %%index%% then that should <em>always</em> take the first paragraph of text.</p> <p>3. We eventually need selection on page rankings and parent page, so we can deprecate all these modules:</p> <ul> <li>ChildPages</li> <li>PagesByTag</li> <li>Backlinks</li> <li>RatedPages</li> </ul> <p>4. We need the %%comments%% field in order to properly show blog entries and news stories.</p> <p>5. When showing %%content{n}%% in a ListPages module on a page with content sections, it shows the data from the current page rather than the listed page. It should show the content section from the listed page.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-169850</guid>
				<title>&quot;categories&quot; instead / in addition to &quot;category&quot;</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-169850</link>
				<description></description>
				<pubDate>Sat, 24 May 2008 07:23:53 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>You could consider supporting a "categories" attribute instead or in addition to the "category" attribute. That would also be more consistent with the existing "tags" attribute.</p> <p>Else you might consider to issue a warning if a non-existing attribute is specified. [[module ListPages categories="_default howto" ...]] works now, but doesn't list those two categories, but the current page's category.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-169597</guid>
				<title>ListPages Bug?</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-169597</link>
				<description></description>
				<pubDate>Fri, 23 May 2008 22:07:20 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Module ListPages seems to report wrong %%date%% values.</p> <p>See [<a href="http://community.wikidot.com/bugs:module-listpages" >http://community.wikidot.com/bugs:module-listpages</a>].</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-169042</guid>
				<title>(no title)</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-169042</link>
				<description></description>
				<pubDate>Fri, 23 May 2008 10:36:58 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>&gt; Please everyone test this module and comment on the functionality</p> <p>Could you perhaps support ListPages configurations like the following? Thanks!</p> <div class="code"> <pre> <code>[[table]] [[row]][[cell]]Page[[/cell]][[cell]]Date[[/cell]][[/row]] [[module ListPages separate="false" rssShow="false"]] [[row]][[cell]]%%linked_title%%[[/cell]][[cell]]%%date%%[[/cell]][[/row]] [[/module]] [[/table]]</code> </pre></div> <div class="code"> <pre> <code>||~ Page||~ Date|| [[module ListPages separate="false" rssShow="false"]] || %%linked_title%% || %%date%% || [[/module]]</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-167362</guid>
				<title>(no title)</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-167362</link>
				<description></description>
				<pubDate>Wed, 21 May 2008 09:56:32 +0000</pubDate>
				<wikidot:authorName>michal frackowiak</wikidot:authorName>				<wikidot:authorUserId>1</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>OK for almost everything, but the <tt>separate</tt> thing should stay as it is. The option affects how the whole list is compiled and you basically <span style="text-decoration: underline;">do</span> want to process pages separately. However it should be set to <tt>false</tt> e.g. when you generate a list of pages as a bulleted list — see the example above.</p> <p>Please everyone test this module and comment on the functionality, either here or on our dev list.</p> <p>m.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://dev.wikidot.org/forum/t-60744#post-166699</guid>
				<title>(no title)</title>
				<link>http://dev.wikidot.org/forum/t-60744/listpages-module#post-166699</link>
				<description></description>
				<pubDate>Tue, 20 May 2008 09:36:37 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Consider instead of tagMode:</p> <p>- by default, tags are OR<br /> - use +tag to make a tag mandatory in the selection<br /> - use -tag to make a mandatory negative selection</p> <p>For category, the default should be the current category, so that if I use ListPages in the blog: category the default category is "blog:"</p> <p>To select all categories I should be able to use "*".</p> <p>For the Rss options, use consistent naming:</p> <ul> <li>rssTitle</li> <li>rssShow</li> <li>rssEmbed</li> </ul> <p>Instead of 'separate' with default 'true', use 'breaks' with default 'false'. It's not nice to have defaults that are 'true', in general a default should be 'off' until requested to be 'on'.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>