ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Safecracker and Matrix

March 27, 2012 2:43pm

Subscribe [1]
  • #1 / Mar 27, 2012 2:43pm

    mark59

    88 posts

    Safecracker does not appear to properly support Matrix (the Pixel and Tonic Field Type).

    I need to be able to edit Matrix row data within a Safecracker form

    if I just attempt to display the Matrix rows I get

    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined property: EE::$typography
    
    Filename: celltypes/text.php
    
    Line Number: 163

    As the channel tag works with Matrix then Safecracker ought to.

  • #2 / Mar 28, 2012 3:53pm

    Dan Decker

    7338 posts

    Hi mark59,

    SafeCracker does support Matrix, so we need to figure out what the real issue is here!

    What version of ExpressionEngine and Matrix are you using?

    Cheers,

  • #3 / Mar 28, 2012 3:59pm

    mark59

    88 posts

    Dan, Hi

    This happened while i was trying to get to the Matrix field using

    {my_matrix_fieldname}
    without using
    {field:my_matrix_fieldname}

    So its now a none issue since i discovered I needed to put {field: as a prefix.

    Thanks - you can close this.

  • #4 / Apr 02, 2012 4:52pm

    Dan Decker

    7338 posts

    Hi mark59,

    I’m glad you were able to come the solution on your own! It’s not entirely clear in the User Guide, but the {field:field_short_name} nomenclature is good for any field type.

    If you need us in the future, pleas ping us in a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases