Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-28 16:39:49

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

random sorting of article_custom

I know this feature was in 4.0.3, but has the random sorting of articles been deprecated in 4.0.4? If that’s the case, it would be a pity. But I’ll grow over it… :)


Prrrrrrrr

Offline

#2 2006-12-28 17:12:45

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: random sorting of article_custom

Have you tried sort="rand()"?

Offline

#3 2006-12-28 18:50:10

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: random sorting of article_custom

Yes, I did. That worked in 4.0.3, but not anymore…


Prrrrrrrr

Offline

#4 2006-12-28 18:55:16

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: random sorting of article_custom

sort="rand()" works just fine.

Offline

#5 2006-12-29 15:39:50

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: random sorting of article_custom

It does! I don’t know what I was doing wrong, but I’m glad it works. Thanks Mary (and jm ;)!


Prrrrrrrr

Offline

#6 2007-03-18 19:51:49

kevinpotts
Member
From: Ghost Coast
Registered: 2004-12-07
Posts: 370

Re: random sorting of article_custom

man i love this forum. search for a dumb question and ye shall be answered. thanks mary for clueing in the clueless. (this should probably be noted in the textpattern.net tag list)


Kevin
(graphicpush)

Offline

#7 2007-07-19 00:52:49

ferenczi
Member
Registered: 2005-01-31
Posts: 67

Re: random sorting of article_custom

I wonder if I haven’t stumbled on something strange. I just upgraded to 4.0.5 and noticed that sort="rand()", which was always unproblematic, no longer seemed to work (in Firefox 2.0.0.5). So I turned to these forums. I was kind of surprised to see that someone else seemed (at least initially) to be having a similar problem.

Out of curiosity, I decided to load the site in Safari (2.0.1), and it worked fine. So then I tested it in Opera (8.52), and it worked fine. And then I used a Windows IE7 emulator to test it in IE7/Win, and it worked fine.

Loaded it again in FF, and it doesn’t seem to work: I get the same image every single time. I’ve loaded and reloaded too many times for it to be just a coincidence. I dumped my cache and session cookies just to see if that would help, but no. I even tried adding <meta http-equiv="cache-control" content="no-cache" />—made no difference.

Offline

#8 2007-07-19 01:49:51

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: random sorting of article_custom

What is your setting for “Send last mod header”?

Offline

#9 2007-07-19 02:16:40

ferenczi
Member
Registered: 2005-01-31
Posts: 67

Re: random sorting of article_custom

Mary, you rock. That was the issue. Thanks.

Offline

Board footer

Powered by FluxBB