SPUG: Slashcode question

Paul Farrall paul_farrall at yahoo.com
Sun May 22 11:37:18 PDT 2005

Anybody out there using slashcode?  I'm trying it out for my website
(http://xs-adventure.com).   Installation was fairly straightforward. 
Configuring it - not so straightforward.   I'm stuck on two things:

1) How to change which blocks appear on the homepage.  I could hack the
code, but surely that is not the preferred approach?  Is there a
template somewhere that controls this?

2) I can't seem to edit the contents of the "Quick Links" box on the
right side of the page.  I modified the template via the admin.pl UI.  
Looks like the new contents are in the DB, but the default content
still shows up.  Where is this content coming from?

This is what shows up in the homepage html:

<!-- begin quicklinks block -->

You should put some links here to other sites that your users might

<!-- end quicklinks block -->

When I poke at the Blocks table in the DB,  I don't see any blocks with
this text.  The index_qlinks record has my new content.

mysql> select bid,text from blocks
.... no text here that looks like the default content.

mysql> select * from blocks where bid='index_qlinks' \G
*************************** 1. row ***************************
        bid: index_qlinks
      block: <!-- begin quicklinks block -->


<!-- end quicklinks block -->

     seclev: 10000
       type: static
    section: index
   ordernum: 7
      title: Quick Links
     portal: 1
   retrieve: 0
last_update: 2005-05-20 09:27:04
1 row in set (0.00 sec)



More information about the spug-list mailing list