micker / mod_flexiadmin

Module FLEXI admin
11 stars 4 forks source link

PHP Warning #21

Closed iamrobert closed 8 years ago

iamrobert commented 9 years ago

Hi Micker,

If you don't have extra fields displaying - it gives the following php notice:

token administration control panel

If you wrap them in: if(isset($extrafield)) {

    if(isset($extrafield)) { 
                        foreach ($extraFieldlist1 as $extrafield){
                            FlexicontentFields::getFieldDisplay($item, $extrafield);
                            $value= $item->fields[$extrafield]->display;
                            echo '<td>';
                            echo $value;
                            echo '</td>';
                        }
                        }

The error goes away - but not sure if it works for $extrafield examples.
micker commented 9 years ago

thanks for return its only a notice change reporting in your site i work on it to kill it and add display field like categorie and statue will commit reagrds