<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
 <generator>http://textpattern.com/</generator>
 <title>Textpattern Tips – Filter article lists using drop-down select menus</title>
 <description>Filter article lists using drop-down select menus - comments</description>
 <link>https://textpattern.tips/filter-article-lists-using-drop-down-select-menus</link>
 <atom:link href="https://textpattern.tips/filter-article-lists-using-drop-down-select-menus?f=comment-feed" rel="self" type="application/rss+xml" />
 <pubDate>Wed, 01 Aug 12 02:42:13 +0000</pubDate>

 <item>
     <title>Comment on Filter article lists using drop-down select menus by Chris Alden</title>
     <link><a href="https://textpattern.tips/filter-article-lists-using-drop-down-select-menus#c000703" id="c000703">1</a></link>
     <guid><a href="https://textpattern.tips/filter-article-lists-using-drop-down-select-menus#c000703" id="c000703">1</a></guid>
     <pubDate>Tue, 27 Apr 10 20:48:14 +0000</pubDate>
     <description><![CDATA[<p>Confused by this &#8230; can&#8217;t seem to output  two or more custom fields in txp:article_custom. in other words:</p><p>&lt;txp:article_custom Ingredients=&#8217;&lt;txp:variable name=&#8220;Ingredients&#8221; /&gt;&#8217; Ethnicities=&#8217;&lt;txp:variable name=&#8220;Ethnicities&#8221; /&gt;&#8217;  /&gt;</p><p>doesn&#8217;t work for me but</p><p>&lt;txp:article_custom Ingredients=&#8217;&lt;txp:variable name=&#8220;Ingredients&#8221; /&gt;&#8217;  /&gt;</p><p>does.</p><p>I&#8217;m using glz_custom_fields, and I really need to filter articles by three or four custom fields. what am I missing? can anyone suggest a solution/workaround?</p>]]></description>
     <content:encoded><![CDATA[<p>Confused by this &#8230; can&#8217;t seem to output  two or more custom fields in txp:article_custom. in other words:</p><p>&lt;txp:article_custom Ingredients=&#8217;&lt;txp:variable name=&#8220;Ingredients&#8221; /&gt;&#8217; Ethnicities=&#8217;&lt;txp:variable name=&#8220;Ethnicities&#8221; /&gt;&#8217;  /&gt;</p><p>doesn&#8217;t work for me but</p><p>&lt;txp:article_custom Ingredients=&#8217;&lt;txp:variable name=&#8220;Ingredients&#8221; /&gt;&#8217;  /&gt;</p><p>does.</p><p>I&#8217;m using glz_custom_fields, and I really need to filter articles by three or four custom fields. what am I missing? can anyone suggest a solution/workaround?</p>]]></content:encoded>
     <dc:creator>Chris Alden</dc:creator>
 
</item>
<item>
     <title>Comment on Filter article lists using drop-down select menus by Andrew Swihart</title>
     <link><a href="https://textpattern.tips/filter-article-lists-using-drop-down-select-menus#c000707" id="c000707">1</a></link>
     <guid><a href="https://textpattern.tips/filter-article-lists-using-drop-down-select-menus#c000707" id="c000707">1</a></guid>
     <pubDate>Sun, 09 May 10 22:03:16 +0000</pubDate>
     <description><![CDATA[<p>Chris, using two custom field attributes in an article_custom tag works fine for me, not sure what could be going on there.</p>]]></description>
     <content:encoded><![CDATA[<p>Chris, using two custom field attributes in an article_custom tag works fine for me, not sure what could be going on there.</p>]]></content:encoded>
     <dc:creator><a rel="nofollow" href="http://andrewswihart.net">Andrew Swihart</a></dc:creator>
 
</item>
<item>
     <title>Comment on Filter article lists using drop-down select menus by Kjeld Duits</title>
     <link><a href="https://textpattern.tips/filter-article-lists-using-drop-down-select-menus#c000708" id="c000708">1</a></link>
     <guid><a href="https://textpattern.tips/filter-article-lists-using-drop-down-select-menus#c000708" id="c000708">1</a></guid>
     <pubDate>Tue, 11 May 10 23:39:30 +0000</pubDate>
     <description><![CDATA[<p>Two custom field attributes in an article_custom tag does not appear to work for me either. I am using Textpattern 4.2.0 with PHP5.</p>]]></description>
     <content:encoded><![CDATA[<p>Two custom field attributes in an article_custom tag does not appear to work for me either. I am using Textpattern 4.2.0 with PHP5.</p>]]></content:encoded>
     <dc:creator><a rel="nofollow" href="http://www.japanesestreets.com">Kjeld Duits</a></dc:creator>
 
</item>
<item>
     <title>Comment on Filter article lists using drop-down select menus by Kjeld Duits</title>
     <link><a href="https://textpattern.tips/filter-article-lists-using-drop-down-select-menus#c000709" id="c000709">1</a></link>
     <guid><a href="https://textpattern.tips/filter-article-lists-using-drop-down-select-menus#c000709" id="c000709">1</a></guid>
     <pubDate>Tue, 11 May 10 23:55:03 +0000</pubDate>
     <description><![CDATA[<p>It seems to work fine when there is only one value in the custom field. With comma separated values in the custom field (I use chh_keywords), article_custom doesn&#8217;t work for me.</p>]]></description>
     <content:encoded><![CDATA[<p>It seems to work fine when there is only one value in the custom field. With comma separated values in the custom field (I use chh_keywords), article_custom doesn&#8217;t work for me.</p>]]></content:encoded>
     <dc:creator><a rel="nofollow" href="http://www.japanesestreets.com">Kjeld Duits</a></dc:creator>
 
</item>
<item>
     <title>Comment on Filter article lists using drop-down select menus by Andrew Swihart</title>
     <link><a href="https://textpattern.tips/filter-article-lists-using-drop-down-select-menus#c000712" id="c000712">1</a></link>
     <guid><a href="https://textpattern.tips/filter-article-lists-using-drop-down-select-menus#c000712" id="c000712">1</a></guid>
     <pubDate>Sat, 15 May 10 16:46:41 +0000</pubDate>
     <description><![CDATA[<p>OK, I am only using one value per custom field so that&#8217;s why I&#8217;m not having problems.</p><p>You could use smd_query in place of the article_custom tag if necessary. Not sure if this is the best code to do it, but try this out (not tested):</p><pre><code>&lt;txp:smd_query column='*' table='textpattern' where='Category1="&lt;txp:category1/&gt;" AND custom_1="?&lt;txp:custom_field name="[custom field 1 name]"/&gt;" AND custom_2="?&lt;txp:custom_field name="[custom field 2 name]"/&gt;"
ORDER BY Posted desc 
LIMIT 10 
OFFSET 0' form="article-form" /&gt;
</code></pre>]]></description>
     <content:encoded><![CDATA[<p>OK, I am only using one value per custom field so that&#8217;s why I&#8217;m not having problems.</p><p>You could use smd_query in place of the article_custom tag if necessary. Not sure if this is the best code to do it, but try this out (not tested):</p><pre><code>&lt;txp:smd_query column='*' table='textpattern' where='Category1="&lt;txp:category1/&gt;" AND custom_1="?&lt;txp:custom_field name="[custom field 1 name]"/&gt;" AND custom_2="?&lt;txp:custom_field name="[custom field 2 name]"/&gt;"
ORDER BY Posted desc 
LIMIT 10 
OFFSET 0' form="article-form" /&gt;
</code></pre>]]></content:encoded>
     <dc:creator><a rel="nofollow" href="http://andrewswihart.net">Andrew Swihart</a></dc:creator>
 
</item>
<item>
     <title>Comment on Filter article lists using drop-down select menus by Randy Levine</title>
     <link><a href="https://textpattern.tips/filter-article-lists-using-drop-down-select-menus#c001134" id="c001134">1</a></link>
     <guid><a href="https://textpattern.tips/filter-article-lists-using-drop-down-select-menus#c001134" id="c001134">1</a></guid>
     <pubDate>Wed, 01 Aug 12 02:42:13 +0000</pubDate>
     <description><![CDATA[<p>I have been able to recreate the above but I have been unsuccesful in adding another custom field.  In the current project I will need to add mutliple additional fields to the statement.  I get the expected data in the url when I add a third but the results do not return correctly ie I am unable to get the third field to display anything &#8212; can someone show how to add a third to the conditional articles list &#8212;</p>]]></description>
     <content:encoded><![CDATA[<p>I have been able to recreate the above but I have been unsuccesful in adding another custom field.  In the current project I will need to add mutliple additional fields to the statement.  I get the expected data in the url when I add a third but the results do not return correctly ie I am unable to get the third field to display anything &#8212; can someone show how to add a third to the conditional articles list &#8212;</p>]]></content:encoded>
     <dc:creator>Randy Levine</dc:creator>
 
</item>

</channel>
</rss>