<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>Support Forum - Topic: Portfolio Items In Random Order?</title>
		<link>http://www.kriesi.at/support/topic/portfolio-items-in-random-order</link>
		<description>Support Forum - Topic: Portfolio Items In Random Order?</description>
		<language>en-US</language>
		<pubDate>Tue, 21 May 2013 10:13:28 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/portfolio-items-in-random-order" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Portfolio Items In Random Order?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-items-in-random-order#post-20237</link>
			<pubDate>Tue, 31 May 2011 20:56:09 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">20237@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Closed :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>manidini on "Portfolio Items In Random Order?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-items-in-random-order#post-20206</link>
			<pubDate>Tue, 31 May 2011 18:04:00 +0000</pubDate>
			<dc:creator>manidini</dc:creator>
			<guid isPermaLink="false">20206@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;James, thanks for getting back to me.&#60;/p&#62;
&#60;p&#62;Your first suggestion is not really feasible as on later pages it might get difficult to find new portfolio items which haven't been displayed yet (if any!).&#60;/p&#62;
&#60;p&#62;Your alternative will only work with a limited number of portfolio entries as otherwise the loading process of all those featured images will take too much time.&#60;/p&#62;
&#60;p&#62;I will let the user choose which display order he/she prefers.&#60;/p&#62;
&#60;p&#62;A random order does not really make sense for the end user, but is a requirement from my portfolio partners who want to be on top of the list from time to time no matter where they are placed in an alphabetical order.&#60;/p&#62;
&#60;p&#62;Anyway, this topic can be closed.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James Morrison on "Portfolio Items In Random Order?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-items-in-random-order#post-20189</link>
			<pubDate>Tue, 31 May 2011 09:28:49 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">20189@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;Unfortunately this is one of the &#34;problems&#34; with using a random order. For paged pages (i.e. second / third / fourth etc) you would need to write some custom code to exclude all the portfolio entries from the 1st page and then display a random selection of items that remain. This would then need repeating to exclude entries from the 1st and 2nd pages for the 3rd etc.&#60;/p&#62;
&#60;p&#62;The alternative is to remove the pagination by changing the number of entries displayed on a page to exceed the number of entries that exist; this would ensure all entries are displayed on the same page in a random order.&#60;/p&#62;
&#60;p&#62;James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>manidini on "Portfolio Items In Random Order?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-items-in-random-order#post-20152</link>
			<pubDate>Mon, 30 May 2011 15:34:17 +0000</pubDate>
			<dc:creator>manidini</dc:creator>
			<guid isPermaLink="false">20152@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Unfortunately this solution does only work with a small number of portfolio items.&#60;/p&#62;
&#60;p&#62;If Portfolio Pagination kicks in (because there are more portfolio items than the specified Portfolio Post Number) it seems to me as if a new result set is fetched from the database.&#60;/p&#62;
&#60;p&#62;So on page 1 I have portfolio items in random order (as expected). On page 2 I have a &#60;strong&#62;new&#60;/strong&#62; set of portfolio items in random order.&#60;/p&#62;
&#60;p&#62;What happens: I see some portfolio items twice (on both pages) and others I see never! :(
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Portfolio Items In Random Order?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-items-in-random-order#post-20038</link>
			<pubDate>Sat, 28 May 2011 09:21:16 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">20038@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad that I could help you :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>manidini on "Portfolio Items In Random Order?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-items-in-random-order#post-19992</link>
			<pubDate>Fri, 27 May 2011 14:07:20 +0000</pubDate>
			<dc:creator>manidini</dc:creator>
			<guid isPermaLink="false">19992@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Cool stuff! You made my day! :)&#60;/p&#62;
&#60;p&#62;That works exactly as expected, Thanks a lot.&#60;/p&#62;
&#60;p&#62;I am now in a position to allow the user to sort the portfolio list on her own (by date of entry, by name, random, etc.)&#60;/p&#62;
&#60;p&#62;Cheers&#60;/p&#62;
&#60;p&#62;Manidini
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Portfolio Items In Random Order?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-items-in-random-order#post-19988</link>
			<pubDate>Fri, 27 May 2011 13:29:56 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">19988@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
open up includes/loop-portfolio.php and replace:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if(isset($avia_config[&#38;#39;new_query&#38;#39;])) { query_posts($avia_config[&#38;#39;new_query&#38;#39;]); }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if(isset($avia_config[&#38;#39;new_query&#38;#39;])) {
    $avia_config[&#38;#39;new_query&#38;#39;][&#38;#39;orderby&#38;#39;] = &#38;quot;rand&#38;quot;;
    query_posts($avia_config[&#38;#39;new_query&#38;#39;]);
 }&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>manidini on "Portfolio Items In Random Order?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-items-in-random-order#post-19924</link>
			<pubDate>Thu, 26 May 2011 19:44:37 +0000</pubDate>
			<dc:creator>manidini</dc:creator>
			<guid isPermaLink="false">19924@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I would love to have the portfolio items displayed in random order as this would drastically improve my project.&#60;/p&#62;
&#60;p&#62;Although I am quite sure that this is very easy to achieve I haven't figured it out yet.&#60;/p&#62;
&#60;p&#62;Do you have any hints for me?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
