[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] remove columns on the bb2.html page



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