<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Drupal: theme override for Upload.module&#039;s attachments list</title>
	<atom:link href="http://www.island94.org/2008/08/drupal-theme-override-for-upload-modules-attachments-list/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.island94.org/2008/08/drupal-theme-override-for-upload-modules-attachments-list/</link>
	<description>an internet backwater</description>
	<lastBuildDate>Fri, 05 Mar 2010 02:30:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: damon</title>
		<link>http://www.island94.org/2008/08/drupal-theme-override-for-upload-modules-attachments-list/#comment-18709</link>
		<dc:creator>damon</dc:creator>
		<pubDate>Mon, 17 Aug 2009 20:50:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-18709</guid>
		<description>I used the iTweak Upload (http://drupal.org/project/itweak_upload) module and it works great!</description>
		<content:encoded><![CDATA[<p>I used the iTweak Upload (<a href="http://drupal.org/project/itweak_upload" rel="nofollow">http://drupal.org/project/itweak_upload</a>) module and it works great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: s</title>
		<link>http://www.island94.org/2008/08/drupal-theme-override-for-upload-modules-attachments-list/#comment-13646</link>
		<dc:creator>s</dc:creator>
		<pubDate>Thu, 25 Jun 2009 20:44:43 +0000</pubDate>
		<guid isPermaLink="false">#comment-13646</guid>
		<description>fYI if you are using &quot;Garland&quot; theme and have specified custom colors using the color picker you must physically delete the cached Garland theme at sites/default/files/color/garland-xxxxx

Then you must configure and save your theme to reset this cache.  Note that garland &quot;color picker&quot; doesn&#039;t work if your file method is Private.

If you are using private file method and Garland and have lots of files I do not suggest you attempt to use this file icon hack at all or you risk changing file paths for all your attachments.</description>
		<content:encoded><![CDATA[<p>fYI if you are using &#8220;Garland&#8221; theme and have specified custom colors using the color picker you must physically delete the cached Garland theme at sites/default/files/color/garland-xxxxx</p>
<p>Then you must configure and save your theme to reset this cache.  Note that garland &#8220;color picker&#8221; doesn&#8217;t work if your file method is Private.</p>
<p>If you are using private file method and Garland and have lots of files I do not suggest you attempt to use this file icon hack at all or you risk changing file paths for all your attachments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evgeny Pavlov</title>
		<link>http://www.island94.org/2008/08/drupal-theme-override-for-upload-modules-attachments-list/#comment-12725</link>
		<dc:creator>Evgeny Pavlov</dc:creator>
		<pubDate>Sat, 13 Jun 2009 17:32:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-12725</guid>
		<description>If you have an issue with Search Module, you can move functions (as mentioned qrta) into template.php.</description>
		<content:encoded><![CDATA[<p>If you have an issue with Search Module, you can move functions (as mentioned qrta) into template.php.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.island94.org/2008/08/drupal-theme-override-for-upload-modules-attachments-list/#comment-11647</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 27 May 2009 22:52:20 +0000</pubDate>
		<guid isPermaLink="false">#comment-11647</guid>
		<description>I love it. Thanks.</description>
		<content:encoded><![CDATA[<p>I love it. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jamie</title>
		<link>http://www.island94.org/2008/08/drupal-theme-override-for-upload-modules-attachments-list/#comment-9129</link>
		<dc:creator>jamie</dc:creator>
		<pubDate>Sat, 25 Apr 2009 15:37:29 +0000</pubDate>
		<guid isPermaLink="false">#comment-9129</guid>
		<description>In additional change for this code to work with Drupal 5, the l() function which reads:

$file_link = &#039;&#039;.  l(shiny_upload_file_icon($file) . $text, $file_url, array(&#039;html&#039;=&gt;&#039;true&#039;)) . &#039;&#039;;

Should be changed to:

$file_link = &#039;&#039;.  l(shiny_upload_file_icon($file) . $text, $file_url, array(), null, null, false, true) . &#039;&#039;;</description>
		<content:encoded><![CDATA[<p>In additional change for this code to work with Drupal 5, the l() function which reads:</p>
<p>$file_link = &#8221;.  l(shiny_upload_file_icon($file) . $text, $file_url, array(&#8216;html&#8217;=&gt;&#8217;true&#8217;)) . &#8221;;</p>
<p>Should be changed to:</p>
<p>$file_link = &#8221;.  l(shiny_upload_file_icon($file) . $text, $file_url, array(), null, null, false, true) . &#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qrta</title>
		<link>http://www.island94.org/2008/08/drupal-theme-override-for-upload-modules-attachments-list/#comment-240</link>
		<dc:creator>qrta</dc:creator>
		<pubDate>Sat, 10 Jan 2009 23:45:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-240</guid>
		<description>I have solved the problem:
you have to move the function declarations into one other file, good place is for example into one custom module. The upload_attachments.tpl.php only contains the print and drupal_add_css invocations.</description>
		<content:encoded><![CDATA[<p>I have solved the problem:<br />
you have to move the function declarations into one other file, good place is for example into one custom module. The upload_attachments.tpl.php only contains the print and drupal_add_css invocations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MJ</title>
		<link>http://www.island94.org/2008/08/drupal-theme-override-for-upload-modules-attachments-list/#comment-67</link>
		<dc:creator>MJ</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-67</guid>
		<description>*oops* my use of code tags didn&#039;t work, so ignore the &#039;it should read&#039; bit.</description>
		<content:encoded><![CDATA[<p>*oops* my use of code tags didn&#8217;t work, so ignore the &#8216;it should read&#8217; bit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MJ</title>
		<link>http://www.island94.org/2008/08/drupal-theme-override-for-upload-modules-attachments-list/#comment-75</link>
		<dc:creator>MJ</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-75</guid>
		<description>This is a great bit of code. In trying to control the look of the filename, I noted that there&#039;s a missing closing span tag on line 23 of upload_attachments.tpl.php, to close the class=file-name block. It should read:

&lt;code&gt;
$file_metadata = &#039;&lt;div class=&quot;file-metadata&quot;&gt;&lt;span class=&quot;file-name&quot;&gt;&#039; . $file-&gt;filename . &#039; &lt;/span&gt;&lt;span class=&quot;file-size&quot; &gt;(&#039; . format_size($file-&gt;filesize) . 
&lt;/code&gt;

Many thanks for this.</description>
		<content:encoded><![CDATA[<p>This is a great bit of code. In trying to control the look of the filename, I noted that there&#8217;s a missing closing span tag on line 23 of upload_attachments.tpl.php, to close the class=file-name block. It should read:</p>
<p><code><br />
$file_metadata = '
<div class="file-metadata"><span class="file-name">' . $file->filename . ' </span><span class="file-size" >(' . format_size($file->filesize) .<br />
</span></div>
<p></code></p>
<p>Many thanks for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jooblie</title>
		<link>http://www.island94.org/2008/08/drupal-theme-override-for-upload-modules-attachments-list/#comment-82</link>
		<dc:creator>Jooblie</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-82</guid>
		<description>Whoa, this is slick. 

Any way this can be made to work with 5.x?  Any pointers for me to backport it?

Thanks for this!</description>
		<content:encoded><![CDATA[<p>Whoa, this is slick. </p>
<p>Any way this can be made to work with 5.x?  Any pointers for me to backport it?</p>
<p>Thanks for this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.island94.org/2008/08/drupal-theme-override-for-upload-modules-attachments-list/#comment-84</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-84</guid>
		<description>This is a great bit of code. But really didn`t make any difference. Thanks anyway</description>
		<content:encoded><![CDATA[<p>This is a great bit of code. But really didn`t make any difference. Thanks anyway</p>
]]></content:encoded>
	</item>
</channel>
</rss>
