Skip to main content
added 10 characters in body; edited tags
Source Link
4uk4
  • 101.7k
  • 7
  • 173
  • 217

I have tried render only two array´s parameters. Street and postal code but don´t display anything this code.

and
<?php print render($content['field_mapa']['und'][0]['street']); ?>and <?php print render($content['field_mapa']['und'][0]['city']); ?>

However with this code print all parameters.

 
<?php  print render($content['field_mapa']); ?>

I don´t understand where is the problem with this field.

I have tried render only two array´s parameters. Street and postal code but don´t display anything this code.

and

However with this code print all parameters.

 

I don´t understand where is the problem with this field.

I have tried render only two array´s parameters. Street and postal code but don´t display anything this code.

<?php print render($content['field_mapa']['und'][0]['street']); ?>and <?php print render($content['field_mapa']['und'][0]['city']); ?>

However with this code print all parameters.

<?php  print render($content['field_mapa']); ?>

I don´t understand where is the problem with this field.

Source Link

Location subfields problem to render in teaser template node

I have tried render only two array´s parameters. Street and postal code but don´t display anything this code.

and

However with this code print all parameters.

I don´t understand where is the problem with this field.