<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Shai,<br>&nbsp;<br>&nbsp; Thanks a lot ..<br><br>regards<br>Ram<br><br>--- On <b>Fri, 3/4/09, Shai Gluskin <i>&lt;shai@content2zero.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Shai Gluskin &lt;shai@content2zero.com&gt;<br>Subject: Re: [support] Random Display of articles<br>To: support@drupal.org<br>Date: Friday, 3 April, 2009, 6:21 PM<br><br><div id="yiv137761351">Ram,<br><br>You are welcome. And it was Pavan who first answered, I just picked up from him.<br><br>FYI -- For anonymous users, if you have caching turned on... I'm pretty sure this approach <b>will not</b> work like you expect it to. The query runs, it picks a random choice... but then then the whole page is cached and presented to non-authenticated users the same way every time (refreshing page makes no
 difference) until you change something on the page which causes the cache to be overwritten or until you clear the cache.<br>
<br>For logged-in authenticated users I'm pretty sure it will work as you are expecting it to.<br><br>Best,<br><br>Shai<br><br><br><br><div class="gmail_quote">On Fri, Apr 3, 2009 at 7:21 AM, ram prasath <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:ramprasath_explicit@yahoo.co.in" target="_blank" href="/mc/compose?to=ramprasath_explicit@yahoo.co.in">ramprasath_explicit@yahoo.co.in</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
HI Shai,<br><br><span style="color: rgb(0, 0, 255);">MY HEARTY THANK'S TO YOU&nbsp; </span><br><br>&nbsp; I did display the way you said and I found my articles displaying in ascending order in that global Random.And my article is getting changed on every page refresh is any other to display my articles without page refresh in random<br>
<br>Regards<br>&nbsp;Ram<br><br>--- On <b>Fri, 3/4/09, Shai Gluskin <i>&lt;<a rel="nofollow" ymailto="mailto:shai@content2zero.com" target="_blank" href="/mc/compose?to=shai@content2zero.com">shai@content2zero.com</a>&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">
<br>From: Shai Gluskin &lt;<a rel="nofollow" ymailto="mailto:shai@content2zero.com" target="_blank" href="/mc/compose?to=shai@content2zero.com">shai@content2zero.com</a>&gt;<div class="im"><br>Subject: Re: [support] Random Display of articles<br>To: <a rel="nofollow" ymailto="mailto:support@drupal.org" target="_blank" href="/mc/compose?to=support@drupal.org">support@drupal.org</a><br>
</div>Date: Friday, 3 April, 2009, 4:29 PM<div><div></div><div class="h5"><br><br><div>Ram,<br><br>"Random" is not an attribute like "ascending/descending".<br><br>Rather... it is its own field to sort
 or on. Click on the drop-down for adding another field to sort on... go through the list slowly and you'll see "Random" as a choice. <br>
<br>You might, if I remember correctly, even be able to set ascending/descending as an attribute after you have added Random as a new sort field. That, of course, makes no sense and it makes no difference what that attribute is set to.<br>

<br>I needed help in a similar situation as well; it really is counter-intuitive for "Random" to be a field to sort on. But we do love Views, so we'll take it with its warts.<br><br>Good luck,<br><br>Shai<br>

<br><div class="gmail_quote">On Fri, Apr 3, 2009 at 6:25 AM, ram prasath <span dir="ltr">&lt;<a rel="nofollow" target="_blank" href="http://mc/compose?to=ramprasath_explicit@yahoo.co.in">ramprasath_explicit@yahoo.co.in</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">

Hi Pavan,<br>&nbsp;&nbsp; Thank you..But I didn't find sort criteria random .I found sort criteria&nbsp; ascending and descending only....Can u tel&nbsp; me how to set a sort criteria random<br><br>regards<br>Ram<br>&nbsp;&nbsp; <br><br>--- On <b>Fri, 3/4/09, Pavan Keshavamurthy <i>&lt;<a rel="nofollow" target="_blank" href="http://mc/compose?to=pavan.k.murthy@gmail.com">pavan.k.murthy@gmail.com</a>&gt;</i></b> wrote:<br>

<blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Pavan Keshavamurthy &lt;<a rel="nofollow" target="_blank" href="http://mc/compose?to=pavan.k.murthy@gmail.com">pavan.k.murthy@gmail.com</a>&gt;<br>

Subject: Re: [support] Random Display of articles<br>To: <a rel="nofollow" target="_blank" href="http://mc/compose?to=support@drupal.org">support@drupal.org</a><br>Date: Friday, 3 April, 2009, 2:15 PM<div><div></div><div>
<br><br><div>Create a View(A block view), Set number of nodes to 1,&nbsp; filter your content <br>
type (article), and set sort criteria to random.<br><br>Pavan Keshavamurthy<br><br>On Friday 03 April 2009 12:52:50 ram prasath wrote:<br>&gt;
 Hi Friends,<br>&gt;&nbsp; <br>&gt;&nbsp; I have 10 articles I want to display only one article at a time inside a<br>&gt; block and the articles must be randomly choose from that 10 articles. After<br>&gt; every page refresh I want a random article to be displayed inside the<br>

&gt; block..<br>&gt;<br>&gt; CAN ANY 1 TEL ME HOW TO DO IT......<br>&gt;<br>&gt; THANKS IN ADVANCE FRIENDS<br>&gt;<br>&gt; Regards<br>&gt; Ram<br>&gt;<br>&gt;<br>&gt;<br>&gt;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Check out the all-new Messenger 9.0! Go to<br>

&gt; <a rel="nofollow" target="_blank" href="http://in.messenger.yahoo.com/">http://in.messenger.yahoo.com/</a><br><br>-- <br>-Pavan K Murthy<br><a rel="nofollow" target="_blank" href="http://grahana.net/">http://grahana.net/</a><br>
--<br>[ Drupal support list | <a rel="nofollow" target="_blank" href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<br>
</div></div></div></blockquote></td></tr></tbody></table><br><div><div></div><div>
      <hr size="1"> Add more friends to your messenger and enjoy! <a rel="nofollow" target="_blank" href="http://in.rd.yahoo.com/tagline_messenger_6/*http://messenger.yahoo.com/invite/"> Invite them now.</a></div></div><br>
--<br>
[ Drupal support list | <a rel="nofollow" target="_blank" href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<br></blockquote></div><br>
</div><br></div></div>-----Inline Attachment Follows-----<div class="im"><br><br><div>--<br>[ Drupal support list | <a rel="nofollow" target="_blank" href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]</div></div></blockquote>
</td></tr></tbody></table><div><div></div><div class="h5"><br>
      <hr size="1"> Add more friends to your messenger and enjoy! <a rel="nofollow" target="_blank" href="http://in.rd.yahoo.com/tagline_messenger_6/*http://messenger.yahoo.com/invite/"> Invite them now.</a></div></div><br>--<br>
[ Drupal support list | <a rel="nofollow" target="_blank" href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<br></blockquote></div><br>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">--<br>[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]</div></blockquote></td></tr></table><br>


      <!--6--><hr size=1></hr> Explore your hobbies and interests. <a href="http://in.rd.yahoo.com/tagline_groups_6/*http://in.promos.yahoo.com/groups/">Click here to begin.</a>