• Resolved piticu

    (@piticu)


    When i try to create a new matrix i get this:

    plugin_dir.’/css/cf_matrix_edit.css” />’; // get matrixes if(get_post_meta($post->ID, ‘cf_matrix_type’, true) != ”) { $rows = array( ‘type’ => unserialize(get_post_meta($post->ID, ‘cf_matrix_type’, true)), ‘label’ => unserialize(get_post_meta($post->ID, ‘cf_matrix_label’, true)), ‘name’ => unserialize(get_post_meta($post->ID, ‘cf_matrix_name’, true)), ); } else { $rows = array( ‘type’ => array(‘image’,’text’,’textarea’), ‘label’ => array(‘Image’,’Alt Text’,’Caption’), ‘name’ => array(‘image_url’,’image_alt’,’image_caption’), ); } // setup names for rows $row_labels = array( ‘type’ => ‘Cell Type’, ‘label’ => ‘Cell Label’, ‘name’ => ‘Col Name’, ); ?>

    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wp\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 55

    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wp\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 65

    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wp\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 73

Viewing 14 replies - 1 through 14 (of 14 total)
  • Same here, please fix, I’d love to use this plugin πŸ™

    Plugin Author Elliot Condon

    (@elliotcondon)

    Hey guys

    I’m very sorry about the buggy release.

    I have rebuilt it and released v1.0.1

    Hopefully this fixes the problem. If it does, please spread the word and give me some feedback.

    Thanks

    hi
    I have just downloaded the new release and find its not working correctly.

    I have activated it and gone to custom field matrix page and created a new matrix, clicked publish. Added ‘page’ to the assign post type but instead of the update button its says publish. I click this anyway and go to a add new page. The custom field matrix isn’t on the new page screen and when i go back to view the matrix its not under the custom field matrix page. I have watched your video a number of times and I don’t think I am doing anything wrong, its quite straight forwad but i can’t get it to work.

    I am using WP 3.0.4

    please ignore previous post – its now working, I made a stupd error!

    ..but I do have a problem

    I have creates a matrix. All good but when i go into a page, i can’t add an image. everything esl is fine but the browser button doesn’t appear. The browser button is not there. The hand curser tool appears though, but I can’t get into to do naythin. I did tab to this cell and no luck except if I hit enter then I get a defualt ‘image selected’ graphic appearing in the cell. I have tried this in FF & IE.

    Plugin Author Elliot Condon

    (@elliotcondon)

    thanks for the feedback.

    As far as I know, its all working on mac + firefox.
    I’ll do some testing with pc and other browsers and release a new update.

    All feedback is greatly appreciated in these early stages.

    Thanks

    Plugin Author Elliot Condon

    (@elliotcondon)

    Found the problem. I was trying to make the file inputs look pretty and in doing so, I created lots of bugs with browsers.

    I have simplified the css in v1.0.2 and it should all work now.

    Let me know if it fixes the problem,

    cheers.

    Thread Starter piticu

    (@piticu)

    Still broken 😐
    last xammp (1.7.3) on win7 + wp (3.0.4) + cf matrix (1.02)

    plugin_dir.’/css/cf_matrix_edit.css” />’; // get matrixes if(get_post_meta($post->ID, ‘cf_matrix_col’, true) != ”) { $cols = array(); foreach(get_post_meta($post->ID, ‘cf_matrix_col’, false) as $col) { $col_values = unserialize($col); foreach($col_values as $key => $value) { $col_values[$key] = stripslashes($value); } $cols[] = $col_values; } } else { $cols = array( array(‘id’=>1, ‘label’=>’Alt Text’,’name’=>’alt’,’type’=>’text’,’options’=>array()), array(‘id’=>0, ‘label’=>’Image’,’name’=>’url’,’type’=>’image’,’options’=>array()), array(‘id’=>2, ‘label’=>’Caption’,’name’=>’caption’,’type’=>’textarea’,’options’=>array()), ); } // sorts cols by id $cols = $this->msort($cols); ?>

    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wp\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 53

    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wp\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 65

    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wp\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 77

    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wp\wp-content\plugins\custom-field-matrix\core\meta_box_1.php on line 90

    I downloaded the latest version (1.0.2) today and I’m having the same errors that started this thread. I’m on windows 7 using wp3.0.4. Although looks like a php problem rather than anything related to css, browser or os. Hope you can fix soon, looks like a great plugin from your video.

    Plugin Author Elliot Condon

    (@elliotcondon)

    just fixed it. It was a short php tag causing some servers to fail.

    Please delete and download the plugin again.

    Thanks

    Thread Starter piticu

    (@piticu)

    It works now, you can add new version number so it can be updated automatically. Thank you much for your efforts.

    Thread Starter piticu

    (@piticu)

    A small suggestion: it would be great if one column type could be a autofill from a taxonomy πŸ™‚

    Plugin Author Elliot Condon

    (@elliotcondon)

    Hey Piticu

    Thanks for the idea. Can you give me an example of how yo would use this?

    Thanks mate.

    Thread Starter piticu

    (@piticu)

    A small intro: right now i have a small project involving photographic formulas (you know, make your own developer and stuff). I have a friend who helps me from time to time, correcting the formulas. He’s a chemist, i’m just a photographer: he says “sodium thiosulphate”, i say “hypo” and we’re talking about the same substance. That’s the main reason for what i start thinking about taxonomies.
    So, given that i already build up this list, i’m thinking to eliminate one possible source of mistake that could be entering the substances again, by hand, in formulas πŸ™‚
    I have a very alpha website on http://ergpif.eu/formulas/
    I also found a relatively working solution with drupal, but right now is on localhost only. As soon as i’ll make it live i’ll let you know.
    ps: please bear with my funny english πŸ™‚

    thanks – working on PC now

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Custom Field Matrix] doesn't work’ is closed to new replies.