Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 33 matches
Smarty Forum Index
Author Message
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Fri Oct 13, 2006 1:06 pm   Subject: yes, it is a bug
this is a known bug. there is some discussion of this in previous posts.

as you discovered through your admirable testing, there is support for one level group above, but no further.

the change ...
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Fri Aug 04, 2006 9:28 pm   Subject: Download BRG Plugin at the wiki
http://smarty.incutio.com/?page=BandedReportGenerator

This is a copy/paste job, but there are nice hints telling you where to put everything.

cheers.
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Tue Apr 25, 2006 5:45 pm   Subject: normalized data
As Forrest Gump said: Mama always had a way of explaining things so I could understand them.

You say you've got normalized data in your tables that you then de-normalize and send through the BRG... ...
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Mon Apr 24, 2006 9:23 pm   Subject: Payouts database normalization
It's never foolish to ask...

It's a deeper problem... You need to normalize your data structure. The BRG will not detect deficiencies in the database design. When your database is properly normaliz ...
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Tue Feb 07, 2006 3:45 pm   Subject: Time Frame Buckets
Hi Boots... thanks for the reply. Glad to hear things have progressed with this plugin.

Here's a stab at a simple sample:

A recordset with results that span 1 year.
Fields quarter and type.
...
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Thu Feb 02, 2006 5:35 pm   Subject: ideas for using banded report in left outer join style
Long time no squeak! I'm at it again... I am trying to use banded report generator (BRG) on a slightly different problem. It boils down to the issue that I can't seem to get a left outer join behavior ...
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Thu Jun 30, 2005 8:24 pm   Subject: i think i've got this one... needed chain link checks
a little shorthand description of a recordset... note this is not an assoc array:

OOPS! Embarassed Don't use the code if you saw it here before I edited the post. It's broken.

let me know how that ...
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Mon Jun 27, 2005 5:39 pm   Subject: coupla thoughts on the experiment...
IMO, the main idea behind this plugin (besides the pedagogical) is to push some level of database querying to the mythical "smarty template designer." Also, it can lessen some of the repetetive things ...
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Thu Jun 23, 2005 8:54 pm   Subject: Banded Report Generator


Ah yes. The arrays built by the report_header block are not grouped by the nesting group. It is just a straight array so at the end of the line there is no indication of where a group one level u ...
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Thu Jun 23, 2005 6:16 pm   Subject: Great job!
Hi guys,

Thanks for the solution to this vexing issue and the warning about using strip_slashes() on the buffer.

I think this plugin set is a really cool learning tool for new/advancing Smarty ...
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Thu Jun 23, 2005 3:41 pm   Subject: possible general solution to preg_replace problem
here are the characters that are special to preg_replace (according to the php.net manual . \ + * ?

There currently are at least 3 comments there that talk about the dollar sign problem with refer ...
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Wed Jun 22, 2005 8:59 pm   Subject: Banded Report Generator
off the top of my head, shouldn't that be a generic replacement? if the problem is in the preg_replace backreference confusion, aren't there all kinds of things that can screw up preg_replace?

i do ...
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Wed Jun 22, 2005 6:35 pm   Subject: Banded Report Generator
The only filter I have on is:


$this->autoload_filters = array('output' => array('trimwhitespace'));


Look closely at your results. I see no dollar sign on the summary data when i try to ...
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Wed Jun 22, 2005 4:21 pm   Subject: Note: Must Use HTML Entity for dollar sign
There is a problem using the $ (dollar sign) inside the header tags. Because of the multiple levels of processing that the summary data goes through in the new header stats system a dollar sign in the ...
  Topic: Banded Report Generator
sophistry

Replies: 90
Views: 203260

PostForum: Plugins   Posted: Wed Jun 22, 2005 2:49 am   Subject: Banded Report Generator
Skimming your code I wasn't sure if you are also handling the report header/footer and not just the group header/footer.


Yep, I am handling the report main summary with this rather clunky soluti ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP