Re: [phpslash-users] Keeping a story on the front page
Brought to you by:
joestewart,
nhruby
From: nathan r. h. <nh...@ar...> - 2000-10-26 12:53:33
|
On 26 Oct 2000, Wayne Pascoe wrote: > Hi all, > > I've setup phpslash and libphp. I have a few questions. > > Is there any way to set PHPslash up so that a story, or group of > stories can appear on the front page indefinitely, while others rotate > out into older stuff ? > Uh, sure. But it takes some coding. The way the front page works is that it grabs the first 25 (or whatever) stories from the db, so as you load new ones into phpSlash, the query on the front page automagically moves them down one. So in order to have several stories on the front page appear indefinately you'd need to get their id's , add queiries from them in the index.php3 file and and call the functions that crate stories with that data you queried. Kind of a pain, but not a big one > Secondly, I got phpslash-0.5.3-2.tar.gz as a link of the phplib > site. Is there a newer version that I should be using ? > YES!!!! Use the current CVS from cvs.phpslash.sourceforge.net (check out module phpslash-ft, login as anonymous / no password) -n -- ........ nathan hruby Webmaster: UGA Department of Drama and Theatre Project Maintainer: phpSlash, Carousel nh...@ar... ........ |