gridGk5 - Nested grids

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun Feb 02, 2014 4:23 pm
I'm trying to do some nested grids with gridGk5. It seems to work OK, but I have this notice right above the child-grid:

Notice: Constant DS already defined in C:\xampp\htdocs\t7_black\modules\mod_grid_gk5\mod_grid_gk5.php on line 15

Is it possible to use multiple grids, even nested and if it is, how can I make that notice to disappear?
User avatar
Fresh Boarder

teitbite
Sun Feb 02, 2014 4:43 pm
Hi

Please simply change the error showing level to none in joomla glabal configuration for server.
User avatar
Moderator

GK User
Sun Feb 02, 2014 5:18 pm
Now it works. Thanks.
User avatar
Fresh Boarder

teitbite
Sun Feb 02, 2014 5:27 pm
Hi

No problem. Glad I could help.
User avatar
Moderator

GK User
Sat Apr 19, 2014 3:25 pm
Do you mean: System> global configuration> server> server setting> error reporting > NONE ?
Some problem, but this does not seems to work for me, error still shown :-(
User avatar
Expert Boarder

teitbite
Tue Apr 22, 2014 9:50 pm
Hi

@perina please tell me what error message You see or tell me the url to the page with this error.
User avatar
Moderator

GK User
Thu May 08, 2014 4:55 am
the Error message is
Notice: Constant DS already defined in /home/public_html/MYWEBSITE.com/modules/mod_grid_gk5/mod_grid_gk5.php on line 15
URL send by private message, thank you!

teitbite wrote:Hi

@perina please tell me what error message You see or tell me the url to the page with this error.
User avatar
Expert Boarder

teitbite
Fri May 09, 2014 8:40 am
Hi

That's odd. Lowering error lewel should hide such notices in the first round. I think Your server error showing level is too height. Anyway try editing modules/mod_grid_gk5/mod_grid_gk5.php and remove this line to see if deleting definition will help.
User avatar
Moderator

GK User
Sat May 10, 2014 1:28 pm
this works! For others with same issue just clarifying I have removed this line
Code: Select all
define('DS', DIRECTORY_SEPARATOR);
only
from this file
Code: Select all
yourdomain.com/modules/mod_grid_gk5/mod_grid_gk5.php

Thank you! :mrgreen:
User avatar
Expert Boarder

teitbite
Mon May 12, 2014 10:27 am
Hi

Great to hear that it's ok now and thanks for detailed solution.
User avatar
Moderator


cron