<?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>Many blank templates appear in template list</title>
		<link>http://community.wikidot.com/forum/t-46381/many-blank-templates-appear-in-template-list</link>
		<description>Posts in the discussion thread &quot;Many blank templates appear in template list&quot; - When using templates on your site (pages with template category), creating a new page presents the &quot;Initial template&quot; dropdown box with each template followed by &quot;no template (blank page)&quot;. This is ugly and a little confusing.</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://community.wikidot.com/forum/t-46381#post-198557</guid>
				<title>Re: Many blank templates appear in template list</title>
				<link>http://community.wikidot.com/forum/t-46381/many-blank-templates-appear-in-template-list#post-198557</link>
				<description></description>
				<pubDate>Tue, 17 Jun 2008 12:33:30 +0000</pubDate>
				<wikidot:authorName>andrewescott</wikidot:authorName>				<wikidot:authorUserId>35136</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-46381#post-162326</guid>
				<title>Re: Many blank templates appear in template list</title>
				<link>http://community.wikidot.com/forum/t-46381/many-blank-templates-appear-in-template-list#post-162326</link>
				<description></description>
				<pubDate>Mon, 12 May 2008 19:42:17 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Fixed — see <a href="http://community.wikidot.com/forum/t-57022#post-162282">http://community.wikidot.com/forum/t-57022#post-162282</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-46381#post-155834</guid>
				<title>Re: Many blank templates appear in template list</title>
				<link>http://community.wikidot.com/forum/t-46381/many-blank-templates-appear-in-template-list#post-155834</link>
				<description></description>
				<pubDate>Thu, 01 May 2008 10:06:13 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>According to the latest commit info, Michal seems to be in the process of fixing this.</p> <blockquote> <p>Revision: 70<br /> Date: 4/30/08&nbsp;11:20 PM<br /> User: michal_frackowiak<br /> Message: * Fixed a but that resulted in displaying multiple "no template" option when editing new pages.</p> </blockquote> <p>The fix though doesn't seem to have gone live yet — when I try it, I still see those several "No template (blank page)" entries.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-46381#post-134067</guid>
				<title>Re: Many blank templates appear in template list</title>
				<link>http://community.wikidot.com/forum/t-46381/many-blank-templates-appear-in-template-list#post-134067</link>
				<description></description>
				<pubDate>Sat, 29 Mar 2008 17:49:03 +0000</pubDate>
				<wikidot:authorName>tadhgk</wikidot:authorName>				<wikidot:authorUserId>59260</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I've had the same problem. Is this due to be fixed soon?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-46381#post-127661</guid>
				<title>Re: Many blank templates appear in template list</title>
				<link>http://community.wikidot.com/forum/t-46381/many-blank-templates-appear-in-template-list#post-127661</link>
				<description></description>
				<pubDate>Wed, 19 Mar 2008 11:29:47 +0000</pubDate>
				<wikidot:authorName>andrewescott</wikidot:authorName>				<wikidot:authorUserId>35136</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Looking in the source code for Wikidot v1, the problem seems to be in the file /templates/modules/edit/PageEditModule.tpl</p> <div class="code"> <pre> <code>&lt;select name="theme" id="page-templates" onchange="WIKIDOT.modules.PageEditModule.listeners.templateChange(event)"&gt; {foreach from=$templates item=template} &lt;option value="" style="padding: 0 1em"&gt;no template (blank page)&lt;/option&gt; &lt;option value="{$template-&gt;getPageId()}" style="padding: 0 1em" {if $template-&gt;getPageId() == $templateId}selected="selected"{/if}&gt;{$template-&gt;getTitle()|escape}&lt;/option&gt; {/foreach} &lt;/select&gt;</code> </pre></div> <br /> It seems clear that the "no template (blank page)" option is repeated for each template in the list. The solution ought to then be to move the "no template (blank page)" option to above the foreach loop.
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-46381#post-123539</guid>
				<title>Many blank templates appear in template list</title>
				<link>http://community.wikidot.com/forum/t-46381/many-blank-templates-appear-in-template-list#post-123539</link>
				<description></description>
				<pubDate>Wed, 12 Mar 2008 11:27:29 +0000</pubDate>
				<wikidot:authorName>andrewescott</wikidot:authorName>				<wikidot:authorUserId>35136</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>When using templates on your site (pages with template category), creating a new page presents the "Initial template" dropdown box with each template followed by "no template (blank page)". This is ugly and a little confusing.</p> <p>This is well illustrated on the sandbox wiki as it has quite a few templates. To see, create a new page such as<br /> <a href="http://sandbox.wikidot.com/frodo">http://sandbox.wikidot.com/frodo</a><br /> and view the "Initial template" dropdown box. About ten of the entries are currently "no template (blank page)".</p> <p>This has been tested on Firefox 2 as well as IE 7 on Windows XP.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>