Slash Boxes

Slash Open Source Project

Ask SlashCode: Modifying the Default Order of Slashboxes?

posted by Cliff on 01:59 PM March 5th, 2004   Printer-friendly   Email story
How do I modify the list of slashboxes that appear on the right side of the default page? I see that they are included using this line from the template "index;index;default":
[% boxes %]
How do I control the way boxes is assigned? The comment in the template reads:
boxes = string containing all the slashboxes.
I suppose that I could just hardwire it into this template but that seems to be the wrong idea. Is this referring to a database table? If so, which one? Or is it referring to a Perl function? If so which one?

Plugins and Themes: Slash in CSS/XHTML? -- Sure!

posted by Cliff on 09:44 AM March 4th, 2004   Printer-friendly   Email story
wiswaud notes: "Following this article in A List Apart, which rewrites (statically) a Slashdot homepage from HTML tables to CSS/XHTML, what are the chances we'll see this implemented in Slash? ALA calculates that this might bring savings of 10GB of bandwidth PER DAY, while making each reload a little faster for everyone. It would also make Slash-generated pages more accessible, as CSS makes it possible to show as little or as much formatting as a device supports. Furthermore, while I've never delved into the Slash, I would tend to think that, while it might be quite an endeavour to do the conversion, the code would actually end up being clearer and easier to follow, as the formatting would be separated from the content..." Well, wiswaud -- looks like some one agrees with you. For those interested in a new CSS-aware theme for on.

Plugins and Themes: Problems Installing the Blob Plugin?

posted by Cliff on 07:40 AM March 2nd, 2004   Printer-friendly   Email story
Has anyone else had problems with installing the Blob plugin? I installed the plugin without problems, but on trying to access, it failed. The log suggests that the version of Bundle::Slash is out of date. Updating Bundle::Slash goes okay until it gets to the Apache::Test module when it fails. Any advice gratefully received! Thanks.

Ask SlashCode: Is Postgres Support Dead?

posted by Cliff on 12:30 PM March 1st, 2004   Printer-friendly   Email story
A not-so Anonymous reader would like to know about the following: "I really would like to have an offical statement about postgres support. The FreeBSD port states 'PostgreSQL support is already well on its way.' The last statement on Slashcode states that 'its going nowhere'. Is this offical? I use Postgres and only use Mysql for Slashcode." The Postgres module lies untouched, and has been that way for a real long time, therefore I think it might be safe to assume that no direct support from the core developers is expected. I can see why they may not have the time, being as they have several sites like Slashdot, NewsForge, and others that need their love and care. It should be mentioned however, that Slash is still Open Source Software, so if someone wants to revive work on the module, please feel free. Remember, if you want help, there's always the Slashcode-Development Mailing List, and a legion of Slashcode developers who might be interested in testing and/or writing code! So is Postgres support dead? I leave the answer to that question up to you.

Ask SlashCode: Sticky Stories and Posts in Cronological Order?

posted by Cliff on 11:38 AM February 29th, 2004   Printer-friendly   Email story
"Is there away (aside modifying the code) to post stories in chronological order (as opposed to reverse chronological order). The oldest being on the top and newest at the bottom? Or better yet is there a way to keep a few key stories at the top and post new ones below?"
Today's News | March 21 | March 19  >