[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Interchange not displaying headers or footers just content
Running on Solaris...
I've been having this problem and been having to go up to backup copies
just to get this running. I was wondering if anyone else has been
having this problem...but its only been happening since upgrading from
4.8.3 to 4.8.6
What did I do?
Bin/interchange -r
That's it. Didn't change any files...
http://www.fashionfantasies.net/shop/ff (view source)
It just displays data between the <BEGIN CONTENT> and <END CONTENT>
tags. Of course the templates references are there, index.html uses
them there are no typos or anything like that. THIS IS A BUG! Is there
a way around it?
Does anybody know whats going on?
Chris Chaney
-----Original Message-----
From: interchange-users-admin@icdevgroup.org
[mailto:interchange-users-admin@icdevgroup.org] On Behalf Of Bill Carr
Sent: Friday, June 14, 2002 7:18 AM
To: interchange-users@icdevgroup.org
Subject: Re: [ic] Random display of search result??
On Fri, 2002-06-14 at 12:47, Jim Toro wrote:
>
> Is there a way to do a random display of items once found in a
search?.
>
>
> I have no problem with any kind of search and display in a results
page,
> but a customer wants the items to display in random order after a
search
> result occurs. I cant think of any easy way to do it.
>
> Any ideas?. It would have to be a true random display each time even
> though the list of items are strict in that they match the search
spec.
If you are using mysql (and others probably) this should work:
[query
list=1
sql=|SELECT * FROM products ORDER BY RAND() LIMIT 3|
]
[list]
[sql-param title]<br>
[/list]
[/query]
--
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413-253-6700
_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users