[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] remove columns on the bb2.html page
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] remove columns on the bb2.html page
- From: Henrik Stoerner <henrik (at) hswn.dk>
- Date: Fri, 10 Oct 2008 08:54:18 +0000 (UTC)
- Newsgroups: lists.hobbit
- Organization: Linux Users Inc.
- References: <gckgg1$l65$1 (at) voodoo.hswn.dk> <C3D8BF33B5D08642AB3BFEEC249E8BBDF415EF (at) EXVSRVA1.it2000.hants.gov.uk> <71D23AAE53176A4EB67247AFFADCC10C24F97128B5 (at) FMAIL-CCR.synetrixhl.local> <997a524e0810092125m7d949813h84e46979c4efc57c (at) mail.gmail.com> <997a524e0810092125m7d949813h84e46979c4efc57c (at) mail.gmail.com> <71D23AAE53176A4EB67247AFFADCC10C24F97128EC (at) FMAIL-CCR.synetrixhl.local>
- User-agent: nn/6.7.3
In <71D23AAE53176A4EB67247AFFADCC10C24F97128EC (at) FMAIL-CCR.synetrixhl.local> <Russell.Cook (at) synetrix.co.uk> writes:
>The "group-only" does normally work ... but not for the "All non-green view=
>"(bb2.hmtl) ... there is a -bb2-ignorecolumns directive which works fine fo=
>r all columns except the two I want to exclude :)
The "info" and "trends" columns are really hard-coded into the
web display.
You have the source, so you can hack it. In bbdisplay/pagegen.c
you'll find these lines:
/* TRENDS and INFO columns are always included on non-BB pages */
if (strcmp(column->name, xgetenv("INFOCOLUMN")) == 0) return 1;
if (strcmp(column->name, xgetenv("TRENDSCOLUMN")) == 0) return 1;
Just change the "return 1" to "return 0", run "make" and copy
the bbdisplay/bbgen binary to your ~hobbit/server/bin/ directory.
Regards,
Henrik