Search found 14 matches

by fcsabihu
Feb 18th, '12, 10:05
Forum: ApPHP DataGrid {HOW TO}
Topic: HOW TO implement DataGrid with Smarty easily?
Replies: 0
Views: 5102

HOW TO implement DataGrid with Smarty easily?

Hey friends using the Smarty template engine, Here's a quick solution to implement your Datagrid tables into your Smarty templates: 1. Start your datagrid code with ob_start(); 2. End your datagrid code with $dgrid->Bind(); $smarty->assign('myDatagridTable', ob_get_contents()); ob_end_clean(); 3. In...
by fcsabihu
Oct 30th, '11, 12:51
Forum: ApPHP DataGrid {future features}
Topic: Row colours depending on a field's value?
Replies: 6
Views: 5239

Row colours depending on a field's value?

Hi all,

I'm pretty sure that there's a way to do this with custom templates, but it can be easier and v. useful when for example:

- displaying active/inactive records in view mode,
- displaying a date that has passed or is near,
- displaying low sales records...

Neils
by fcsabihu
Sep 4th, '11, 09:59
Forum: ApPHP DataGrid {bugs}
Topic: __operation_randomize_code [SOLVED]
Replies: 4
Views: 2011

[Resolved] __operation_randomize_code

Some file in the datagrid library may have been corrupted. I reinstalled the library and now it works. Sorry for the post and thank you for your support.
by fcsabihu
Sep 2nd, '11, 15:31
Forum: ApPHP DataGrid {bugs}
Topic: Crazy Char?cters
Replies: 8
Views: 3588

Re: Crazy Char?cters

Hi!

Me too I was struggling with the Hungarian chars. For me, querying

SET NAMES latin2


right after establishing connection solved the problem.

Sok szerencsét!

fcsabihu
by fcsabihu
Sep 1st, '11, 13:10
Forum: ApPHP DataGrid {bugs}
Topic: __operation_randomize_code [SOLVED]
Replies: 4
Views: 2011

Re: __operation_randomize_code

It's defined like:

Code: Select all

$debug_mode = true;
$messaging = true;
$unique_prefix = "ppg_";
$dgrid = new DataGrid($debug_mode, $messaging, $unique_prefix, DATAGRID_DIR);


, that isn't the problem.
by fcsabihu
Aug 31st, '11, 09:16
Forum: ApPHP DataGrid {bugs}
Topic: __operation_randomize_code [SOLVED]
Replies: 4
Views: 2011

__operation_randomize_code [SOLVED]

Hi Can you please help? What is this field, added to the query and preventing me from adding rows to the database? INSERT INTO p_period_groups ( __operation_randomize_code , p_period_groupDES, p_period_groupTRN, departure_airport, arrival_airport, flightID, p_period_groupLONGDES, p_productID) VALUES...
by fcsabihu
Sep 11th, '10, 10:37
Forum: Field type: "image/file"
Topic: Thumb-image sizable
Replies: 3
Views: 3980

Re: Thumb-image sizable

Bon, 4 thumbs with following sizes 160-120 120-160 30-160 160-30 Do I understand well, that you want to create thumbnails when uploading an image? This is my solution: First, Make a backup of your datagrid class ;-) Create a directory 'thumbnails' in your images folder. Create subdirectories this w...
by fcsabihu
Apr 29th, '10, 09:06
Forum: Calendar feature implementation [date/datetime fields]
Topic: How to insert NULL value into date field?
Replies: 2
Views: 3344

Re: How to insert NULL value into date field?

Thanks! I guess I'll have to upgrade [using 5.0.7 (20.06.2009) now], cause I can't find these lines... :?
by fcsabihu
Apr 26th, '10, 15:05
Forum: Calendar feature implementation [date/datetime fields]
Topic: How to insert NULL value into date field?
Replies: 2
Views: 3344

How to insert NULL value into date field?

Hello all, I'd like to let my users insert NULL value into a date field. I tried this in the Add/Edit/Details Mode Settings: "valid_from" =>array("header"=>"Valid from", "type"=>"date", "req_type"=>"st", "width"=>"1...
by fcsabihu
Oct 20th, '09, 11:57
Forum: Multi-Language implementation
Topic: latin2_hu: no problem until resorting or filtering the table
Replies: 6
Views: 5451

Re: latin2_hu: no problem until resorting or filtering the table

I made a change to the datagrid.class.php, from line 682: // encoding & direction ------------------------------------------------ $this->encoding = "latin2"; $this->collation = "latin2_hungarian_ci"; $this->direction = "ltr"; This solved the display problem. Now I ...

Go to advanced search