At section "Pre-configuration for layout based on active sidebars" I only get checkboxes and fields without title or descriptions. Tested with released and dev version. All other modules uninstalled and tested again.
So I can't test/ use grid configuration.

CommentFileSizeAuthor
#3 grid-table.png39.99 KBmauro72
#2 screenshot.png27.95 KBJohnnyX

Comments

mauro72’s picture

Hi, Can you send me and image of what you are seeing in your screen, could be a problem with the theming function for the form. Tested in my local seems to work fine.

JohnnyX’s picture

StatusFileSize
new27.95 KB

Hello mauro72,

today a see an error message at theme configuration page:

warning: Parameter 1 to opengrid_grids_settings_table() expected to be a reference, value given in /var/www/drupal/includes/theme.inc on line 656.
warning: Parameter 1 to opengrid_grids_settings_table() expected to be a reference, value given in /var/www/drupal/includes/theme.inc on line 656.
warning: Parameter 1 to opengrid_grids_settings_table() expected to be a reference, value given in /var/www/drupal/includes/theme.inc on line 656.
warning: Parameter 1 to opengrid_grids_settings_table() expected to be a reference, value given in /var/www/drupal/includes/theme.inc on line 656.
warning: Parameter 1 to opengrid_grids_settings_table() expected to be a reference, value given in /var/www/drupal/includes/theme.inc on line 656.

And I attached the screen shot

Regards

mauro72’s picture

StatusFileSize
new39.99 KB

Unfortunately I can't reproduce this bug in my local, for some reason the theme function is not loading the form correctly. Can you attach the the opengrid theme you are using so I can test it directly on my local?

Attached is a screenshot of how it should look.

JohnnyX’s picture

I installed the theme local at another machine... I will do a clean install and test it again. If I get the same error I attach you the theme. But I used the unmodified theme at my tests.

Thanks for the screenshot :)

JohnnyX’s picture

I have a local Drupal installation on Apache/ Ubuntu. I installed the unmodified theme

openg-6.x-1.1.tar.gz
openg-6.x-1.x-dev.tar.gz

I don't know what the problem is. Maybe I will install the theme at another machine but at the moment I have no time or will test later release...

mauro72’s picture

I found the problem with the theme function for the table in the theme settings for for the grid, all you have to do is edit the template.php file:
before:

line 238 function opengrid_grids_settings_table(&$form){
...

after:

line 238 function opengrid_grids_settings_table($form){
...

removing the & seems to solve the problem.
I'll commit the change in the next release.

JohnnyX’s picture

Hello mauro72,

thanks for your reply! Haven't tested it any more but maybe in the future if I have some time...

Best regards

Mojah’s picture

Version: 6.x-1.x-dev » 6.x-2.0
Priority: Normal » Minor

I noticed the same error in 2x while running the latest version of php. It has to do with php 5.3x and referenced variables. yacu72's comment #6 works.

Mojah’s picture

Assigned: Unassigned » mauro72
Status: Active » Fixed

Fixed in 6x.2x.dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.