Anonymous | Login | Signup for a new account | 2024-04-18 19:36 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Relationship Graph | [ View Issue ] [ Dependency Graph ] | |||
|
||||
|
Viewing Issue Simple Details | |||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update |
0000786 | [In-Portal CMS] Admin Interfaces | bug report | always | 2010-06-25 13:21 | 2010-11-30 12:48 |
Reporter | alex | View Status | public | ||
Assigned To | alex | ||||
Priority | normal | Resolution | fixed | ||
Status | closed | ||||
Summary | 0000786: Column totals block customization issues | ||||
Description |
Recently I was trying to create custom block to display totals under one of the columns in grid I was working on. Here are several problems I'm came across trying to do that: * attempt to define block and give it's name in "total_block" in column definition failed (code doesn't even look there) * I somehow managed to get it working, but I asked me to place "'" (single quotes) around inside my block, plus placing "," after that all. I've managed to fix that inconsistencies and here is the patch. To Test: 1. Add totals_render_as="grid_total_row" parameter to "grid" block rendering 2. Add totals="SUM" on any reasonable field 3. Add total_block="grid_custom_total_td" to that field definition in grid Now you must see that custom block content as total under your column. If custom block isn't defined, then default block must be shown (verify that too). Same override problem issue with column header block (that one with sorting arrow). Combined patch attached for both issues. |
||||
Additional Information |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |